[Pdns-users] Slave zone transferring but not saved (sqlite)

Ben Beuchler ben_beuchler at mcad.edu
Mon Feb 28 06:08:56 UTC 2005


Greetings...

I am trying to import my first domains (from maradns) via AXFR.  I copied the
schema info directly from the documentation and added a domain entry for the
first domain I want to pull across:

INSERT INTO domains VALUES(1,'mcad.edu','150.253.50.1',NULL,'SLAVE',NULL,NULL);

I've stripped the config down to the bare minimum:

launch=gsqlite
gsqlite-database=/var/pdns/pdns.db
local-address=150.253.10.35
slave=yes

When I fire up pdns in monitor mode, it makes the AXFR request from
150.253.50.1 (I've verified that the data is actually transferred by dumping
the traffic) and says that it has committed it to the sqlite database.
However, when I look at the database, nothing has been added.  This is repeated
every 60s until I kill the server.  Here's what the logs look like:

cliff root # pdns_server --daemon=no --guardian=no --control-console --loglevel=9
Feb 28 00:04:59 This is a standalone pdns
Feb 28 00:04:59 UDP server bound to 150.253.10.35:53
Feb 28 00:04:59 TCP server bound to 150.253.10.35:53
Feb 28 00:04:59 PowerDNS 2.9.17 (C) 2001-2005 PowerDNS.COM BV (Feb 27 2005, 18:52:46) starting up
Feb 28 00:04:59 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Feb 28 00:04:59 Master/slave communicator launching
Feb 28 00:04:59 Creating backend connection for TCP
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 1 slave domain needs checking
Feb 28 00:04:59 About to create 3 backend threads
Feb 28 00:04:59 Domain mcad.edu is stale, master serial 2005022401, our serial 0
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 No serial for 'mcad.edu' found - zone is missing?
Feb 28 00:04:59 AXFR started for 'mcad.edu', transaction started
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 AXFR done for 'mcad.edu', zone committed
Feb 28 00:04:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:04:59 Done launching threads, ready to distribute questions
Feb 28 00:05:59 1 slave domain needs checking
Feb 28 00:05:59 Domain mcad.edu is stale, master serial 2005022401, our serial 0
Feb 28 00:05:59 gsqlite: connection to '/var/pdns/pdns.db' succesful
Feb 28 00:05:59 No serial for 'mcad.edu' found - zone is missing?
Feb 28 00:05:59 AXFR started for 'mcad.edu', transaction started
Feb 28 00:05:59 AXFR done for 'mcad.edu', zone committed

I'm running pdns 2.9.17 and sqlite 2.8.15.  

Any ideas?

Thanks!

-Ben

-- 
Ben Beuchler                         Minneapolis College of Art and Design
Network Administrator                                ben_beuchler at mcad.edu
MAILER-DAEMON                                                 612.874.3641


More information about the Pdns-users mailing list