[Pdns-users] startup fails when "master=yes"

Charles Sprickman spork at bway.net
Thu May 26 06:50:15 UTC 2011

On Wed, 25 May 2011, Charles Sprickman wrote:

> On Wed, 25 May 2011, bert hubert wrote:
>> On Wed, May 25, 2011 at 01:48:47AM -0400, Charles Sprickman wrote:
>>> Hello,
>>> I recently started doing some basic testing of pdns and it's been
>>> going well.  I decided to test the master/slave setup, so I set
>>> "master=yes" on one of my test servers.  The server fails to start
>>> when this is enabled, logging the following:
>>> May 25 01:40:24 archive-bak pdns[37672]: PowerDNS
>>> 3.0-rc2.20110509.2191 (C) 2001-2011 PowerDNS.COM BV (May 12 2011,
>>> 04:31:25, gcc 4.2.1 20070719 [FreeBSD]) starting up
>> PowerDNS really wants IPv6 enabled.
>>> May 25 01:40:24 archive-bak pdns[37672]: Communicator thread died
>>> because of STL error: Creating local resolver socket for :::
>>> Protocol not supported
>> We could probably remove the ipv6 dependency here, but all in all, systems
>> w/o IPv6 support are getting to be rare.
> In this case the host does support IPv6 (FreeBSD 8.1), but no IPv6 IPs are 
> configured.  Additionally, this is in a jail, if that makes any difference.

Just as a followup - I moved all this to a jail with IPv6 IPs and am not 
seeing the problem anymore.  Just thought I'd add that for the archives 
for anyone else running FreeBSD + PowerDNS in a jail.

> Ironically when I'm done testing, this will live on a host with a real IPv6 
> address, but the devel environment does not have IPv6.
>>> I have not enabled the "hand unknown queries off to a recursor"
>>> option that I know of...
>> This is the notification socket.
> Considering it is able to bind to a v4 IP, can this perhaps be a non-fatal 
> error?  It feels kind of like bad form to die if there's not an IP available.

Also the error I found was coming from the resolver, so I'm still a bit 
puzzled.  Anyhow, for the archives, it's here:

pdns/resolver.cc:    unixDie("Creating local resolver socket for 



>>> I'm going to try disabling IPv6 and recompiling (this test jail does
>>> not run IPv6) and see if that makes a difference.
>> It might.
> No such luck. (#undef HAVE_IPV6 in config.h)
> Thanks,
> Charles
>> 	Bert
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users

More information about the Pdns-users mailing list