[Pdns-users] Recursor fails to resolve domains

Odhiambo Washington odhiambo at gmail.com
Tue Apr 9 06:29:06 UTC 2013


--config-dir does not solve my problem with eithe of the control scripts I
tested.

*Starting PowerDNS recursing nameserver: Apr 09 09:26:09 Unable to parse
configuration file '/recursor.conf'*
Apr 09 09:26:09 PowerDNS recursor 3.5-rc5 (C) 2001-2013 PowerDNS.COM BV
(Apr  8 2013, 17:58:48, gcc 4.2.1 20070831 patched [FreeBSD]) starting up

Apr 09 09:26:09 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.
Apr 09 09:26:09 Operating in 64 bits mode
Apr 09 09:26:09 Reading random entropy from '/dev/urandom'
Apr 09 09:26:09 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8,
100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80:
:/10
Apr 09 09:26:09 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8,
100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128,
fe80::/
10, 0.0.0.0, ::
Apr 09 09:26:09 NOT using IPv6 for outgoing queries - set
'query-local-address6=::' to enable
Apr 09 09:26:09 Inserting rfc 1918 private space zones
Apr 09 09:26:09 Listening for UDP queries on 127.0.0.1:53
Apr 09 09:26:09 Listening for TCP queries on 127.0.0.1:53
Apr 09 09:26:09 Calling daemonize, going to background


On 9 April 2013 09:15, Peter van Dijk <peter.van.dijk at netherlabs.nl> wrote:

> Hello,
>
> On Apr 8, 2013, at 16:51 , Odhiambo Washington wrote:
>
> > Question is - how do I pass the config file as a parameter to the
> recursor in the above startup script (-c? -f) ? Maybe that is one of the
> problems I need to address. My assumption has been that I don't need to
> specify it anyway, since the path is built-in during compile.
>
> Specifying during compile is broken - our apologies for that.
>
> At run time, you can specify --config-dir to point to a specific dir. The
> config must be called recursor.conf inside that dir.
>
> Can you try --config-dir and let me know whether that solves your issue
> for now?
>
> > Correct me if I am wrong but it would appear that recursor ignores the
> CONFIGDIR directive when compiling. I have just checked this now by
> appending "...." and starting it using the init script in the source and it
> failed to start with:
> >
> >
> > [root at jaribu] ~wash/Tools/PDNS/pdns-recursor-3.5-rc5#
> ./pdns-recursor.init.d start
> > Starting PowerDNS recursing nameserver: Apr 08 17:48:30 Exception:
> Trying to set unexisting parameter '....'
> >
> > According to me, it should not be looking for this file in
> /etc/powerdns/, but rather the one in /usr/local/etc/pdns.
>
> Yes, this is a bug. I will write a ticket about it.
>
> Kind regards,
> --
> Peter van Dijk
> Netherlabs Computer Consulting BV - http://www.netherlabs.nl/
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20130409/04aacf00/attachment-0001.html>


More information about the Pdns-users mailing list