[Pdns-users] strange answers from pdns 3.0-rc1 with recursor=8.8.8.8

Vasiliy G Tolstov v.tolstov at selfip.ru
Mon Apr 11 15:45:58 UTC 2011


I'm using pdns-3.0-rc1

if i dig www.clodo.ru on 188.127.244.30 like: 
dig @188.127.244.30 www.clodo.ru A

first answer is correct:
cc00:~ # dig @188.127.244.30 www.clodo.ru A

; <<>> DiG 9.5.0-P2 <<>> @188.127.244.30 www.clodo.ru A
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53151
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.clodo.ru.			IN	A

;; ANSWER SECTION:
www.clodo.ru.		21335	IN	CNAME	clodo.ru.
clodo.ru.		21335	IN	A	188.127.236.5
clodo.ru.		21335	IN	A	188.127.236.4

;; Query time: 0 msec
;; SERVER: 188.127.244.30#53(188.127.244.30)
;; WHEN: Mon Apr 11 19:41:55 2011
;; MSG SIZE  rcvd: 76


But second is incorrect:

cc00:~ # dig @188.127.244.30 www.clodo.ru A

; <<>> DiG 9.5.0-P2 <<>> @188.127.244.30 www.clodo.ru A
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51682
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.clodo.ru.			IN	A

;; Query time: 0 msec
;; SERVER: 188.127.244.30#53(188.127.244.30)
;; WHEN: Mon Apr 11 19:43:22 2011
;; MSG SIZE  rcvd: 30


If i wait some time (about some seconds) next answer is correct, but
after that i get incorrect answers... 
But if i dig from recursor - all answers is correct at any time


config file:
allow-axfr-ips=77.221.141.148/32,77.221.143.26/32,188.127.241.48/32,188.127.244.30/32,188.127.236.4/32,188.127.236.5/32,89.249.18.119/32
allow-recursion=0.0.0.0/0
allow-recursion-override=no
chroot=/var/lib/powerdns
distributor-threads=2
fancy-records=yes
launch=gpgsql
gpgsql-host=127.0.0.1
gpgsql-user=dns
gpgsql-password=dns
gpgsql-dbname=dns
gpgsql-port=5432
lazy-recursion=yes
local-address=188.127.244.30
local-port=53
log-dns-details=on
log-failed-updates=yes
loglevel=9
master=yes
max-queue-length=10000
max-tcp-connections=100
out-of-zone-additional-processing=yes
query-local-address=188.127.244.30
query-logging=yes
queue-limit=3500
recursor=8.8.8.8
send-root-referral=yes
setgid=pdns
setuid=pdns
skip-cname=no


-- 
Vasiliy G Tolstov <v.tolstov at selfip.ru>
Selfip.Ru




More information about the Pdns-users mailing list