正在查找快速缓存DNS解析程序(服务器或库)

正在查找快速缓存DNS解析程序(服务器或库),dns,Dns,我需要每天为大量IP获取反向DNS。有些IP每天会出现很多次。我希望捕获24小时的rDNS值,包括“无记录”响应 我正在寻找能够让我: 忽略权威TTL 缓存我指定的TTL的“无记录”响应。 是的,我们可以自己编写这样的库,但我很难想象还没有人这样做。然而找不到。除此之外,unbound也可以 见其手册中的以下内容: cache-max-ttl: <seconds> Time to live maximum for RRsets and messages

我需要每天为大量IP获取反向DNS。有些IP每天会出现很多次。我希望捕获24小时的rDNS值,包括“无记录”响应

我正在寻找能够让我:

忽略权威TTL 缓存我指定的TTL的“无记录”响应。 是的,我们可以自己编写这样的库,但我很难想象还没有人这样做。然而找不到。

除此之外,unbound也可以

见其手册中的以下内容:

   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:您的问题在软件推荐方面比这里更具本体性,因为它不是一个真正的编程问题,或者至少在您决定自己编写这样一个软件之前