[Pdns-users] fancy records problemn in 2.9.19

Mario mario at uni.de
Mon Oct 31 14:00:16 UTC 2005


Hello!

I did an upgrade to version 2.9.19. Now fancy records does not work anymore.

When I use this package: pdns-static_2.9.18-2_i386.deb:

# dig domain.de @127.0.0.1 A

; <<>> DiG 9.2.4 <<>> domain.de @127.0.0.1 A
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5182
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;domain.de.                       IN      A

;; ANSWER SECTION:
domain.de.                3600    IN      A       217.1.2.3


When I use this package: pdns-static_2.9.19-2_i386.deb:

# dig domain.de @127.0.0.1 A

; <<>> DiG 9.2.4 <<>> domain.de @127.0.0.1 A
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59221
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;domain.de.                       IN      A

;; AUTHORITY SECTION:
domain.de.                3600    IN      SOA     ns.domain.de.
hostmaster.domain.de. 2005100402 10800 3600 604800 3600


My pdns.conf:

launch=gmysql
local-address=217.1.2.3,127.0.0.1
gmysql-socket=/var/run/mysqld/mysqld.sock
gmysql-user=pdns
gmysql-password=secret
gmysql-dbname=pdns
master=yes
slave=yes
fancy-records=yes
urlredirector=217.1.2.3
wildcard-url=yes

gmysql-basic-query=select content,ttl,prio,type,domain_id,name from
dns_records
where type='%s' and name='%s'
gmysql-id-query=select content,ttl,prio,type,domain_id,name from
dns_records whe
re type='%s' and name='%s' and domain_id=%d
gmysql-any-query=select content,ttl,prio,type,domain_id,name from
dns_records wh
ere name='%s'
gmysql-any-id-query=select content,ttl,prio,type,domain_id,name from
dns_records
 where name='%s' and domain_id=%d
gmysql-list-query=select content,ttl,prio,type,domain_id,name from
dns_records w
here domain_id=%d
gmysql-master-zone-query=select master from dns_domains where name='%s'
and type
='SLAVE'
gmysql-info-zone-query=select
id,name,master,last_check,notified_serial,type fro
m dns_domains where name='%s'
gmysql-info-all-slaves-query=select id,name,master,last_check,type from
dns_doma
ins where type='SLAVE'
gmysql-supermaster-query=select account from dns_supermasters where
ip='%s' and
nameserver='%s'
gmysql-insert-slave-query=insert into dns_domains
(type,name,master,account) val
ues('SLAVE','%s','%s','%s')
gmysql-insert-record-query=insert into dns_records
(content,ttl,prio,type,domain
_id,name) values ('%s',%d,%d,'%s',%d,'%s')
gmysql-update-serial-query=update dns_domains set notified_serial=%d
where id=%d
gmysql-update-lastcheck-query=update dns_domains set notified_serial=%d
where id
=%d
gmysql-info-all-master-query=select
id,name,master,last_check,notified_serial,ty
pe from dns_domains where type='MASTER'
gmysql-delete-zone-query=delete from dns_records where domain_id=%d
gmysql-wildcard-query=select content,ttl,prio,type,domain_id,name from
dns_recor
ds where type='%s' and name like '%s'
gmysql-wildcard-id-query=select content,ttl,prio,type,domain_id,name
from dns_re
cords where type='%s' and name like '%s' and domain_id=%d
gmysql-wildcard-any-query=select content,ttl,prio,type,domain_id,name
from dns_r
ecords where name like '%s'
gmysql-wildcard-any-id-query=select content,ttl,prio,type,domain_id,name
from dn
s_records where name like '%s' and domain_id=%d

webserver=yes
webserver-address=217.1.2.3
webserver-password=secret
webserver-port=8081


I'm running Debian Linux 3.1 Sarge with mySQL Server 4.1.11a-4sarge.

Regards,
Mario


More information about the Pdns-users mailing list