[Pdns-users] External CNames

InterNetX - Marco Schrieck marco.schrieck at internetx.de
Fri Mar 5 13:31:24 UTC 2010


Hello,

I found also another strange issue. That with the dot seam to be a bug we can
see how pdns select this. but on to different maschines both with pdns 2.9.22 
I got diffent answers.

Server 1 send a SERVFAIL an not CNAME Record to the customer, Server 2 sends
a CNAME in the answer but also SERVFAIL

Marco

Server 1
========

# dig @ns1 redir.testdomain.de

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.1 <<>> @ns1 redir.testdomain.de
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41042
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;redir.testdomain.de.               IN      A

;; Query time: 0 msec
;; SERVER: 192.168.133.21#53(192.168.133.21)
;; WHEN: Fri Mar  5 14:02:

select content,ttl,prio,type,domain_id,name from records where name='redir.testdomain.de'
select content,ttl,prio,type,domain_id,name from records where name='green.testdomain.de.'
select content,ttl,prio,type,domain_id,name from records where type='SOA' and name='green.testdomain.de.'

logfile: Not authoritative for 'green.testdomain.de.', sending servfail to 192.168.133.1 (recursion was desired)

mysql records table
| 60883942 | 6157689 | redir.testdomain.de | CNAME | green.testdomain.de.  |  900 |    0 |        NULL |
| 60883919 | 6157689 | green.testdomain.de | A     | 25.12.218.216         |  900 |    0 |        NULL |

---------------------

Server 2
========

pdns1:~$ dig www2.00000f.mobi @10.116.1.2

; <<>> DiG 9.3.4 <<>> www2.00000f.mobi @10.116.1.2
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 5675
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www2.00000f.mobi.              IN      A

;; ANSWER SECTION:
www2.00000f.mobi.       43200   IN      CNAME   www.00000f.mobi.

;; Query time: 56 msec
;; SERVER: 10.116.1.2#53(62.116.161.124)
;; WHEN: Fri Mar  5 14:08:09 2010
;; MSG SIZE  rcvd: 63

sql select:
select content,ttl,prio,type,domain_id,name from records where name=\'www2.00000f.mobi\'
select content,ttl,prio,type,domain_id,name from records where name=\'www.00000f.mobi.\'
select content,ttl,prio,type,domain_id,name from records where name=\'*.00000f.mobi.\'
select content,ttl,prio,type,domain_id,name from records where type=\'SOA\' and name=\'www.00000f.mobi.\'
select content,ttl,prio,type,domain_id,name from records where type=\'SOA\' and name=\'00000f.mobi.\'"

log entry:
Not authoritative for \'www.00000f.mobi.\', sending servfail to 10.116.1.2 (recursion was desired)"


mysql records table:
| 5038169 |    847674 | www.00000f.mobi   | A     | 127.0.0.1         |   999 |    0 |        NULL |
| 5038175 |    847674 | www2.00000f.mobi  | CNAME | www.00000f.mobi.  | 43200 |    0 |        NULL |

---------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20100305/aad89152/attachment-0001.sig>


More information about the Pdns-users mailing list