Package: pdns-backend-geo
Version: 2.9.20-4
Hi,
I have a system with just pdns-server and pdns-backend-geo installed.
The pdns.conf looks like this:
-<------------------------------------->-
config-dir=/etc/powerdns
daemon=yes
disable-axfr=yes
guardian=yes
lazy-recursion=yes
local-port=53
module-dir=/usr/lib/powerdns
setgid=pdns
setuid=pdns
socket-dir=/var/run
version-string=powerdns
launch=geo
include=/etc/powerdns/pdns.d
# geo backend pdns config
query-cache-ttl=0
negquery-cache-ttl=300
cache-ttl=0
wildcards=no
geo-zone=geo.oftc.net
geo-soa-values=gns1.oftc.net,[EMAIL PROTECTED]
geo-ns-records=gns1.oftc.net,gns4.oftc.net
#geo-ttl=3600
#geo-ns-ttl=86400
geo-ip-map-zonefile=/etc/powerdns/oftc-geo-data/zone/zz.countries.nerd.dk.rbldnsd
geo-maps=/etc/powerdns/oftc-geo-data/geo-map
-<------------------------------------->-
When I query this server I do get answers to my questions for the record
that's supposed to exist, but I do not get any answers for SOA, and I do
not get NXDOMAIN on non-existing names. Instead I just get SERVFAILs.
[EMAIL PROTECTED]:~$ dig -t any @141.201.27.139 doesntexist.geo.oftc.net
; <<>> DiG 9.2.4 <<>> -t any @141.201.27.139 doesntexist.geo.oftc.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31419
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;doesntexist.geo.oftc.net. IN ANY
;; Query time: 1 msec
;; SERVER: 141.201.27.139#53(141.201.27.139)
;; WHEN: Fri Aug 11 20:02:19 2006
;; MSG SIZE rcvd: 42
[EMAIL PROTECTED]:~$ dig -t soa @141.201.27.139 geo.oftc.net
; <<>> DiG 9.2.4 <<>> -t soa @141.201.27.139 geo.oftc.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 41467
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;geo.oftc.net. IN SOA
;; Query time: 1 msec
;; SERVER: 141.201.27.139#53(141.201.27.139)
;; WHEN: Fri Aug 11 20:02:23 2006
;; MSG SIZE rcvd: 30
The server log says this:
Aug 11 18:02:19 simona pdns[5981]: Not authoritative for
'doesntexist.geo.oftc.net', sending servfail to 141.201.27.202 (recursion was
desired)
Aug 11 18:02:23 simona pdns[5981]: Not authoritative for 'geo.oftc.net',
sending servfail to 141.201.27.202 (recursion was desired)
Using the version in stable (security), 2.9.17-13sarge2, this very setup works:
[EMAIL PROTECTED]:~$ dig -t any @141.201.27.139 doesntexist.geo.oftc.net
; <<>> DiG 9.2.4 <<>> -t any @141.201.27.139 doesntexist.geo.oftc.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 10862
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;doesntexist.geo.oftc.net. IN ANY
;; AUTHORITY SECTION:
geo.oftc.net. 4159788552 IN SOA gns1.oftc.net.
hostmaster.palfrader.org. 1 86400 172800 604800 3600
;; Query time: 1 msec
;; SERVER: 141.201.27.139#53(141.201.27.139)
;; WHEN: Fri Aug 11 20:01:50 2006
;; MSG SIZE rcvd: 115
[EMAIL PROTECTED]:~$ dig -t soa @141.201.27.139 geo.oftc.net
; <<>> DiG 9.2.4 <<>> -t soa @141.201.27.139 geo.oftc.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14510
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;geo.oftc.net. IN SOA
;; ANSWER SECTION:
geo.oftc.net. 4159863667 IN SOA gns1.oftc.net.
hostmaster.palfrader.org. 1 86400 172800 604800 3600
;; Query time: 1 msec
;; SERVER: 141.201.27.139#53(141.201.27.139)
;; WHEN: Fri Aug 11 20:01:57 2006
;; MSG SIZE rcvd: 103
--
| .''`. ** Debian GNU/Linux **
Peter Palfrader | : :' : The universal
http://www.palfrader.org/ | `. `' Operating System
| `- http://www.debian.org/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]