Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken behaviour when stdin is closed #1694

Open
Habbie opened this issue Sep 2, 2014 · 1 comment · May be fixed by #15041
Open

Broken behaviour when stdin is closed #1694

Habbie opened this issue Sep 2, 2014 · 1 comment · May be fixed by #15041
Milestone

Comments

@Habbie
Copy link
Member

Habbie commented Sep 2, 2014

Pushing ^D on a --control-console causes this:

% Sep 02 07:31:45 Fatal error in control listener: Guardian exited - going down as well
Sep 02 07:31:45 Control listener aborted, please file a bug!

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.

@Habbie Habbie added this to the auth-4.1.0 milestone Dec 15, 2015
@dac2020
Copy link

dac2020 commented Jun 15, 2017

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

@Habbie Habbie modified the milestones: auth-5, former-auth-4.1.0 Jul 6, 2017
@miodvallat miodvallat linked a pull request Jan 15, 2025 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants