[Pdns-users] pdns slaving issues

Mark Jeftovic markjr at easydns.com
Wed Oct 1 14:20:39 UTC 2003


We're testing a non-standard DNS nameserver configuration, without
boring anyone with the details we are running pdns (2.9.11) with
gmysql backend as a slave using a bind9 supermaster.

The pdns slave seems to be adding new zones to the domains table fine,
and for domains where it has zone data, it is responding to NOTIFY
packets quite nicely and pulling in new zone data (thanks for the
mod Bert).

One thing that is puzzling, I thought if I just fired up the slave
and let it run for awhile, through the combination of having a
supermaster and having been prepopulated with the list of domains
in the "domains" table, that it would eventually pull itself into
sync with the master.

It never does, that is, it is taking a long time. I started this about
a week ago, slaving about 65,000 zones, so far it has pulled down about
4,000 of them.

The odd thing is seems to have checked them all, many times, i.e.:

Oct  1 07:26:06 remote3 pdns[5929]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='puremail.net'
Oct  1 07:28:48 remote3 pdns[5929]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='puremail.net'
Oct  1 07:31:33 remote3 pdns[5929]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='puremail.net'
Oct  1 07:34:16 remote3 pdns[5929]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='puremail.net'
Oct  1 07:37:03 remote3 pdns[5929]: Query: select
content,ttl,prio,type,domain_id,name from records where type='SOA' and
name='puremail.net'

This domain has no entries in the "records" table:

mysql> select content,ttl,prio,type,domain_id,name from records where
type='SOA' and name='puremail.net';
Empty set (0.00 sec)

Shouldn't pdns notice it has no local records for it and thus pull
it down from its master? Or am I assuming?

-mark

-- 
Mark Jeftovic <markjr at easydns.com>
Co-founder, easyDNS Technologies Inc.
ph. +1-(416)-535-8672 ext 225
fx. +1-(416)-535-0237


More information about the Pdns-users mailing list