[Pdns-users] wildcards in backend and wrong any answer

Vasiliy G Tolstov v.tolstov at selfip.ru
Fri Apr 1 18:11:44 UTC 2011


Some new problem with pdsn trunk:
Simple test - create domain, create subdomain with *.domain.tld IN A
xxxxxxx

Why ANY does not return A ?


dig it:

dig @ns1.clodo.ru ddd.testing-domain.ru ANY 
; <<>> DiG 9.7.2-P3 <<>> @ns1.clodo.ru ddd.testing-domain.ru ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48494
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;ddd.testing-domain.ru.		IN	ANY
;; AUTHORITY SECTION:
testing-domain.ru.	86400	IN	SOA	ns1.clodo.ru. v\.tolstov.selfip.ru.
2011040100 3600 600 86400 3600
;; Query time: 36 msec
;; SERVER: 188.127.236.4#53(188.127.236.4)
;; WHEN: Fri Apr  1 22:09:40 2011
;; MSG SIZE  rcvd: 102

But

vase at mobile ~ $ dig @ns1.clodo.ru ddd.testing-domain.ru A 

; <<>> DiG 9.7.2-P3 <<>> @ns1.clodo.ru ddd.testing-domain.ru A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57945
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ddd.testing-domain.ru.		IN	A

;; ANSWER SECTION:
ddd.testing-domain.ru.	86400	IN	A	188.127.241.48

;; Query time: 39 msec
;; SERVER: 188.127.236.4#53(188.127.236.4)
;; WHEN: Fri Apr  1 22:11:07 2011
;; MSG SIZE  rcvd: 55





Config:
setuid=pdns
setgid=pdns
allow-axfr-ips=89.249.18.119/32,89.249.18.120/32,127.0.0.1/32,188.127.236.4/32,188.127.236.5/32
allow-recursion=89.249.18.119/32,89.249.18.120/32,127.0.0.1/32,188.127.236.4/32,188.127.236.5/32
allow-recursion-override=yes
distributor-threads=1
lazy-recursion=yes
local-address=188.127.236.5
local-port=53
log-dns-details=yes
log-failed-updates=yes
loglevel=9
master=yes
max-tcp-connections=50
query-local-address=188.127.236.5
query-logging=yes
queue-limit=2000
recursor=8.8.8.8
send-root-referral=yes
slave=no
wildcards=yes





More information about the Pdns-users mailing list