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

Please have dnsdist -c verify it can talk to the server #6683

Closed
zeha opened this issue May 28, 2018 · 0 comments · Fixed by #6715
Closed

Please have dnsdist -c verify it can talk to the server #6683

zeha opened this issue May 28, 2018 · 0 comments · Fixed by #6715

Comments

@zeha
Copy link
Collaborator

zeha commented May 28, 2018

  • Program: dnsdist
  • Issue type: Feature request

Short description

dnsdist config - in non-default place - with:

setKey("Z8JaN17Ba8zkNBx8fa11VWJYm5RwHPtf+Esp8G2KwtE=")
addLocal('127.0.0.1:5400')

Running dnsdist -c gives:

Unable to read configuration from '/usr/local/etc/dnsdist.conf'
> newRemoteLogger()
Connection closed by the server.

On the server:

Accepting control connections on 127.0.0.1:5199
> Got control connection from 127.0.0.1:49564
Got an exception in client connection from 127.0.0.1:49564: Could not decrypt message

Usecase

Mostly me being stupid and dnsdist could be nicer to me. Sending a dummy message to the server should probably suffice to check for the mismatched key.

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