Package: pdns-recursor
Version: 3.2-4
Severity: normal

If I query my pdns-recursor (at 192.168.1.100) several times in a row, it
gives different results, right answer only about 1 in 5 times, even though
the result should be cached for 555 seconds.

newaxe# dig imap.tomsoft.hr @192.168.1.100

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @192.168.1.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48649
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; AUTHORITY SECTION:
tomsoft.hr.             2560    IN      SOA     ns1.tomsoft.hr.
hostmaster.tomsoft.hr. 1322478975 16384 2048 1048576 2560

;; Query time: 0 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Wed Nov 30 18:19:47 2011
;; MSG SIZE  rcvd: 84

newaxe# dig imap.tomsoft.hr @192.168.1.100

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @192.168.1.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46566
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; ANSWER SECTION:
imap.tomsoft.hr.        555     IN      A       195.190.136.132

;; Query time: 0 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Wed Nov 30 18:19:47 2011
;; MSG SIZE  rcvd: 49

newaxe# dig imap.tomsoft.hr @192.168.1.100

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @192.168.1.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64851
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; ANSWER SECTION:
imap.tomsoft.hr.        555     IN      A       195.190.136.132

;; Query time: 0 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Wed Nov 30 18:19:47 2011
;; MSG SIZE  rcvd: 49

newaxe# dig imap.tomsoft.hr @192.168.1.100

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @192.168.1.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7863
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; AUTHORITY SECTION:
tomsoft.hr.             2560    IN      SOA     ns1.tomsoft.hr.
hostmaster.tomsoft.hr. 1322478975 16384 2048 1048576 2560

;; Query time: 0 msec
;; SERVER: 192.168.1.100#53(192.168.1.100)
;; WHEN: Wed Nov 30 18:20:00 2011
;; MSG SIZE  rcvd: 84

Querying authorative DNS servers (ns1.tomsoft.hr and ns2.tomsoft.hr always
returns correct result).

newaxe% dig imap.tomsoft.hr @ns1.tomsoft.hr.

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @ns1.tomsoft.hr.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27365
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; ANSWER SECTION:
imap.tomsoft.hr.        555     IN      A       195.190.136.132

;; AUTHORITY SECTION:
tomsoft.hr.             555     IN      NS      ns1.tomsoft.hr.
tomsoft.hr.             555     IN      NS      ns2.tomsoft.hr.

;; ADDITIONAL SECTION:
ns1.tomsoft.hr.         9000    IN      A       195.190.136.132
ns2.tomsoft.hr.         9000    IN      A       195.190.136.21

;; Query time: 0 msec
;; SERVER: 195.190.136.132#53(195.190.136.132)
;; WHEN: Wed Nov 30 18:28:44 2011
;; MSG SIZE  rcvd: 117

newaxe% dig imap.tomsoft.hr @ns2.tomsoft.hr.

; <<>> DiG 9.6-ESV-R4 <<>> imap.tomsoft.hr @ns2.tomsoft.hr.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14173
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;imap.tomsoft.hr.               IN      A

;; ANSWER SECTION:
imap.tomsoft.hr.        555     IN      A       195.190.136.132

;; AUTHORITY SECTION:
tomsoft.hr.             555     IN      NS      ns1.tomsoft.hr.
tomsoft.hr.             555     IN      NS      ns2.tomsoft.hr.

;; ADDITIONAL SECTION:
ns1.tomsoft.hr.         9000    IN      A       195.190.136.132
ns2.tomsoft.hr.         9000    IN      A       195.190.136.21

;; Query time: 0 msec
;; SERVER: 195.190.136.21#53(195.190.136.21)
;; WHEN: Wed Nov 30 18:28:47 2011
;; MSG SIZE  rcvd: 117


The bug repeats sporadically, and restarting pdns-recursor cures it.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdns-recursor depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  liblua5.1-0             5.1.4-5          Simple, extensible, embeddable pro
ii  libstdc++6              4.4.5-8          The GNU Standard C++ Library v3
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

Versions of packages pdns-recursor recommends:
ii  pdns-doc                      2.9.22-8   PowerDNS manual

pdns-recursor suggests no packages.

-- Configuration Files:
/etc/powerdns/recursor.conf changed:
allow-from=127.0.0.0/8, 10.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, ::1/128, 
fe80::/10, 195.190.136.0/24, 2a02:ac8:1001::/48, 2a02:ac8:0:101::2/64
client-tcp-timeout=10
dont-query=
forward-zones-file=/etc/powerdns/forward-zones
local-address=192.168.1.100 2a02:ac8:1001:30::1
local-port=53
query-local-address=195.190.136.1
query-local-address6=2a02:ac8:1001:30::1
quiet=yes
setgid=pdns
setuid=pdns


-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to