我需要获得每日基础上的大量IP反向DNS。一些IP每天会来很多次。我想捕获24小时的rDNS值,包括“无记录”响应。
我正在寻找软件(或库),使我能够:
是的,我们可以自己编写这样的库,但我很难想象还没有人这样做。然而。找不到。
发布于 2018-06-05 02:42:40
其中,unbound
可以做到这一点。
请参阅其手册(https://www.nlnetlabs.nl/documentation/unbound/unbound.conf/)中的以下内容:
cache-max-ttl: <seconds>
Time to live maximum for RRsets and messages in the cache.
Default is 86400 seconds (1 day). If the maximum kicks in,
responses to clients still get decrementing TTLs based on the
original (larger) values. When the internal TTL expires, the
cache item has expired. Can be set lower to force the resolver
to query for data often, and not trust (very large) TTL values.
cache-min-ttl: <seconds>
Time to live minimum for RRsets and messages in the cache.
Default is 0. If the minimum kicks in, the data is cached for
longer than the domain owner intended, and thus less queries are
made to look up the data. Zero makes sure the data in the cache
is as the domain owner intended, higher values, especially more
than an hour or so, can lead to trouble as the data in the cache
does not match up with the actual data any more.
cache-max-negative-ttl: <seconds>
Time to live maximum for negative responses, these have a SOA in
the authority section that is limited in time. Default is 3600.
This applies to nxdomain and nodata answers.
PS:你的问题在SoftwareRecommandations上会比这里更热门,因为它不是真正的编程问题(或者至少在你决定自己编写这样的软件之前)
https://stackoverflow.com/questions/50686589
复制相似问题