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

;; QUESTION SECTION:
;www.news.com.                  IN      A

;; Query time: 0 msec
;; SERVER: 151.159.1.1#53(151.159.1.1)
;; 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?

Thanks!

Steve


_______________________________________________
Pdns-users mailing list
[email protected]
http://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to