[Pdns-users] issues using the recursive-cache-ttl on powerdns 3.0rc2

Bauer, Steven J. Steve.Bauer at sdsmt.edu
Tue Apr 19 19:14:45 UTC 2011

I have a linux machine configured with the powerdns server 3.0rc2 as an authoritive server using the gmysql backend.  This server is configured to handle recursive queries for the local campus as well by handling the request over the recursive resolver.

The issue that I am seeing is that the first time a request is handled over to the recursive resolver (ie www.news.com), I get the correct results for the query.  Then if I duplicate the query again before the timeout of set by the recursive-cache-ttl expires, I get the following error when using nslookup:

Non-authoritative answer:
*** Can't find www.news.com: No answer

When using dig, the result that I get back when it doesn't resolve is:

; <<>> DiG 9.8.0 <<>> www.news.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4227
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;www.news.com.                  IN      A

;; Query time: 0 msec
;; WHEN: Tue Apr 19 13:11:18 2011
;; MSG SIZE  rcvd: 30

If I disable the recursive-cache by setting recursive-cache-ttl to zero it always works as expected.

Is there some setting I am missing for allowing access to the recursive-cache or is this a bug?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20110419/fa7fc903/attachment.html>

More information about the Pdns-users mailing list