[Pdns-users] pdns_recursor question

Tony Adams aadams at esnet.com
Wed Feb 1 15:26:53 UTC 2006


I've implemented PowerDNS (2.9.19) in my environment.  The authoritative
portion of the service works great.  I also setup the recursor but I'm
having trouble with it.  It seems to be fairly stable but no matter how
low I set the cache time it doesn't seem to shuffle results for certain
round robin queries.  Some examples:

This will yield the same results every time I run the query
		C:\dig>dig @ns4.esnet.com hotmail.com mx

		; <<>> DiG 9.2.3 <<>> @ns4.esnet.com hotmail.com mx
		;; global options:  printcmd
		;; Got answer:
		;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41
		;; flags: qr rd ra; QUERY: 1, ANSWER: 4, AUTHORITY: 0,
ADDITIONAL: 16

		;; QUESTION SECTION:
		;hotmail.com.                   IN      MX

		;; ANSWER SECTION:
		hotmail.com.            3580    IN      MX      5
mx1.hotmail.com.
		hotmail.com.            3580    IN      MX      5
mx2.hotmail.com.
		hotmail.com.            3580    IN      MX      5
mx3.hotmail.com.
		hotmail.com.            3580    IN      MX      5
mx4.hotmail.com.


This will shuffle the MX and A results with each query
		C:\dig>dig @ns4.esnet.com hotmail.com any
		;; Truncated, retrying in TCP mode.

		; <<>> DiG 9.2.3 <<>> @ns4.esnet.com hotmail.com any
		;; global options:  printcmd
		;; Got answer:
		;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
18467
		;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0,
ADDITIONAL: 21

		;; QUESTION SECTION:
		;hotmail.com.                   IN      ANY

		;; ANSWER SECTION:
		hotmail.com.            3600    IN      A
64.4.33.7
		hotmail.com.            3600    IN      A
64.4.32.7
		hotmail.com.            172800  IN      NS
ns3.msft.net.
		hotmail.com.            172800  IN      NS
ns4.msft.net.
		hotmail.com.            172800  IN      NS
ns5.msft.net.
		hotmail.com.            172800  IN      NS
ns1.msft.net.
		hotmail.com.            172800  IN      NS
ns2.msft.net.
		hotmail.com.            86400   IN      SOA
ns1.msft.net. msnhst.microsoft.c
		om. 2006012701 1800 900 2419200 3600
		hotmail.com.            3600    IN      MX      5
mx1.hotmail.com.
		hotmail.com.            3600    IN      MX      5
mx2.hotmail.com.
		hotmail.com.            3600    IN      MX      5
mx3.hotmail.com.
		hotmail.com.            3600    IN      MX      5
mx4.hotmail.com.
		hotmail.com.            3600    IN      TXT     "v=spf1
include:spf-a.hotmail.co
		m include:spf-b.hotmail.com include:spf-c.hotmail.com
include:spf-d.hotmail.com
		~all"

Any thoughts as to what may be causing this?  I've submitted Trac Ticket
#54.  Is there more information that I could provide that might help?
I've setup D J Bernstein's dnscache as a potential workaround, but I
don't really like the size based cache vs. a time driven cache as is
used by PDNS.  I'm also not particularly fond of his daemontools. (not
for any technical reason, more for reasons of familiarity and
consistency)

I appreciate any input provided.

Tony Adams
Systems Engineer
E Solutions Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20060201/408c1b9b/attachment.html>


More information about the Pdns-users mailing list