[Pdns-users] Win32 and supermasters......

Nick Fisher nick at infotechsys.com
Mon Dec 15 21:25:41 UTC 2003


> The supermaster feature was only tested with a very old PowerDNS version
> (2.0 if I recall correctly), you can download this executeable and use it
> as your pdns.exe: http://michel.physos.net/powerdns/pdns-d.exe
>
> Then start PowerDNS as a (normal) console program instead of a NT
> service,
> this should give you much more feedback on what's going wrong.
DARG! I was running it from the command line.... I just forgot to attach the
two files with the output in them. Sorry... my bad.... I'm always doing
that.

Anyhow.... I've gone through the whole process again.... this time I'll just
copy n' paste ;)...


Output from pdns when it crashes getting the zone from the supermaster:
C:\Program Files\PowerDNS>pdns
This is module godbcbackend reporting
This is module gsqlite reporting
Listening on named pipe.
Opened file './pdns.conf' for configuration
It is advised to bind to explicit addresses with the --local-address option
UDP server bound to 0.0.0.0:53
TCP server bound to 0.0.0.0:53
Verbose logging in effect
PowerDNS 2.9.13-WIN32 (C) 2001-2003 PowerDNS.COM BV (Dec  2 2003, 23:51:19)
star
ting up
PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are w
elcome to redistribute it according to the terms of the GPL version 2.
Running as a normal (console) program.
DNS Proxy launched, local port 16020, remote 127.0.0.1:5300
Creating backend connection for TCP
Master/slave communicator launching
Launched webserver on 0.0.0.0:8081
godbc Connection succesful
godbc Connection succesful
About to create 3 backend threads
All slave domains are fresh
godbc Connection succesful
godbc Connection succesful
godbc Connection succesful
Done launching threads, ready to distribute questions
Received a packet 110 bytes long from 216.116.192.253
Starting cache clean
DNSPacket copy constructor called!
Distributor has 5 threads available
Remote 216.116.192.253 wants a type SOA (6) about 'nickdafish.net'
Received NOTIFY for nickdafish.net from 216.116.192.253 for which we are not
aut
horitative
Created new slave zone 'nickdafish.net' from supermaster 216.116.192.253,
queued
 axfr
Sending a packet to 216.116.192.253 (32 octets)
godbc Connection succesful
Query: 'select content,ttl,prio,type,domain_id,name from records where
type='SOA
' and name='nickdafish.net''
No serial for 'nickdafish.net' found - zone is missing?
AXFR started for 'nickdafish.net', transaction started
PacketHandler destructor called - 5 left
UeberBackend destructor called, removing ourselves from instances, and
deleting
our backends

The VC++ popup that appears at this point:
Debug Assertion Failed!
File: dbgheap.c
Line: 1044
Expression: _CrtIsValidHeapPointer(pUserData)


Output from pdns when is starts after that crash:
g`"This is module gsqlite reporting
Listening on named pipe.
Opened file './pdns.conf' for configuration
It is advised to bind to explicit addresses with the --local-address option
UDP server bound to 0.0.0.0:53
TCP server bound to 0.0.0.0:53
Verbose logging in effect
PowerDNS 2.9.13-WIN32 (C) 2001-2003 PowerDNS.COM BV (Dec  2 2003, 23:51:19)
star
ting up
PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are w
elcome to redistribute it according to the terms of the GPL version 2.
Running as a normal (console) program.
DNS Proxy launched, local port 17163, remote 127.0.0.1:5300
Creating backend connection for TCP
Master/slave communicator launching
Launched webserver on 0.0.0.0:8081
godbc Connection succesful
godbc Connection succesful
About to create 3 backend threads
Query: 'select content,ttl,prio,type,domain_id,name from records where
type='SOA
' and name='nickdafish.net''
godbc Connection succesful
1 slave domain needs checking
godbc Connection succesful
Done launching threads, ready to distribute questions
Domain nickdafish.net is stale, master serial 1222, our serial 0
godbc Connection succesful
godbc Connection succesful
Query: 'select content,ttl,prio,type,domain_id,name from records where
type='SOA
' and name='nickdafish.net''
No serial for 'nickdafish.net' found - zone is missing?
AXFR started for 'nickdafish.net', transaction started
PacketHandler destructor called - 5 left
UeberBackend destructor called, removing ourselves from instances, and
deleting
our backends

I also get that same VC++ popup again.

Now that I have the SQL statement it looks like the records table isn't
getting propperly updated when the slave domain is added......? There
certainly aren't any records for the slave domain in the records table....

  Nick

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdns_crash.txt
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20031215/cfa818a1/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pdns_fail.txt
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20031215/cfa818a1/attachment-0003.txt>


More information about the Pdns-users mailing list