[Pdns-users] Delegation broken?

Michael Loftis mloftis at wgops.com
Wed Nov 23 01:31:25 UTC 2005


OK Sorry to be a pain but I've figured it out, I've also come up with an 
additional (incorrect?) behaviour int he recursor....I think the dig output 
will explain it better.  I'm giving up anonizing this, too much of a 
headache...in the first example i'm using the records exactly as my output 
before, in the second example I've (re) added our normal 'splat' CNAME for 
*.mtcdc.org record that points back to mtcdc.org....either way, points to a 
bug in the recursor....the first example and second examples should give 
the same results too.  With the recursor disabled I get the same results 
both times (look at ns2.modwest.com if you want to try dig-ing).

So...in short it looks like the authoritative portion does the right thing 
now, but hte recursor still has a bit of brokenness in both the 'CNAME 
splat' case and the normal case.

Sorry to be such a pain, but I'm fighting this bug and trying to get out of 
town too.  I'll try to check back in tomorrow before I get the truck loaded 
up and get onto the road.


dhcp-2-206:~/Desktop/modwest/dev/pdns/pdns-2.9.19 mloftis$ dig  +norecurs 
mx sun.mtcdc.org @ns1.modwest.com

; <<>> DiG 9.2.2 <<>> +norecurs mx sun.mtcdc.org @ns1.modwest.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20579
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;sun.mtcdc.org.                 IN      MX

;; AUTHORITY SECTION:
sun.mtcdc.org.          3600    IN      NS      ns1.electricembers.net.
sun.mtcdc.org.          3600    IN      NS      ns2.electricembers.net.
sun.mtcdc.org.          3600    IN      NS      ns3.electricembers.net.

;; Query time: 4504 msec
;; SERVER: 216.129.251.13#53(ns1.modwest.com)
;; WHEN: Tue Nov 22 18:21:14 2005
;; MSG SIZE  rcvd: 103

dhcp-2-206:~/Desktop/modwest/dev/pdns/pdns-2.9.19 mloftis$ dig mx 
sun.mtcdc.org @ns1.modwest.com

; <<>> DiG 9.2.2 <<>> mx sun.mtcdc.org @ns1.modwest.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23953
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;sun.mtcdc.org.                 IN      MX

;; Query time: 6 msec
;; SERVER: 216.129.251.13#53(ns1.modwest.com)
;; WHEN: Tue Nov 22 18:21:19 2005
;; MSG SIZE  rcvd: 31









dhcp-2-206:~/Desktop/modwest/dev/pdns/pdns-2.9.19 mloftis$ dig mx 
sun.mtcdc.org @ns1.modwest.com

; <<>> DiG 9.2.2 <<>> mx sun.mtcdc.org @ns1.modwest.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 29658
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; QUESTION SECTION:
;sun.mtcdc.org.                 IN      MX

;; ANSWER SECTION:
sun.mtcdc.org.          3600    IN      CNAME   mtcdc.org.
mtcdc.org.              3600    IN      MX      10 mail.modwest.com.

;; ADDITIONAL SECTION:
mail.modwest.com.       3600    IN      A       216.129.251.30

;; Query time: 8 msec
;; SERVER: 216.129.251.13#53(ns1.modwest.com)
;; WHEN: Tue Nov 22 18:24:19 2005
;; MSG SIZE  rcvd: 93

dhcp-2-206:~/Desktop/modwest/dev/pdns/pdns-2.9.19 mloftis$ dig +norecurse 
mx sun.mtcdc.org @ns1.modwest.com

; <<>> DiG 9.2.2 <<>> +norecurse mx sun.mtcdc.org @ns1.modwest.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42658
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 3, ADDITIONAL: 0

;; QUESTION SECTION:
;sun.mtcdc.org.                 IN      MX

;; AUTHORITY SECTION:
sun.mtcdc.org.          3600    IN      NS      ns1.electricembers.net.
sun.mtcdc.org.          3600    IN      NS      ns2.electricembers.net.
sun.mtcdc.org.          3600    IN      NS      ns3.electricembers.net.

;; Query time: 4504 msec
;; SERVER: 216.129.251.13#53(ns1.modwest.com)
;; WHEN: Tue Nov 22 18:24:33 2005
;; MSG SIZE  rcvd: 103








More information about the Pdns-users mailing list