Open Habbie opened 10 years ago
I realize this is very old but I just saw this in my logs also when enabling local recursor.
Jun 15 10:38:05 ns1.xxx.com pdns[21883]: Creating backend connection for TCP
Jun 15 10:38:05 ns1.xxx.com pdns[21883]: Fatal error in control listener: Guardian exited - going down as well
Jun 15 10:38:05 ns1.xxx.com pdns[21883]: Control listener aborted, please file a bug!
Thought I'd mention it since it does say file a bug.
I followed an example I found searching google.
Your recursor.conf should minimally look like this:
daemon=yes
local-port=5353
local-address=127.0.0.1
allow-from=_YOUR_LOCAL_NETMASK_,127.0.0.1
regarding recursion, your pdns.conf should look like this:
allow-recursion=_YOUR_LOCAL_NETMASK_,127.0.0.1
recursor=127.0.0.1:5353
Pushing ^D on a --control-console causes this:
pdns then needs to ^C to actually exit. 'quit' (before ^D) does work.
Related: kill -9 on a guardian makes the child log 'going down as well' but it does not in fact go down.