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

newServer() IPv6 parse failure? #4471

Closed
naughtshoor opened this issue Sep 14, 2016 · 1 comment
Closed

newServer() IPv6 parse failure? #4471

naughtshoor opened this issue Sep 14, 2016 · 1 comment
Labels

Comments

@naughtshoor
Copy link

@naughtshoor naughtshoor commented Sep 14, 2016

Per irc converation...

ok, your error is caused by newServer({address="[2a01:7a0:10:149:154:159:12:0]", name="c.root"}) and newServer({address="[2a03:4000:2:24f::1]", name="d.root"})
<rgacogne> just remove the '[' and ']' or add a ':53' after the ']'

Some more testing, shows the following IF set in the dnsdist.conf file

newServer({address="IPv6"}))   -- without [] and without port will cause dnsdist to halt on startup
newServer({address="[IPv6]"}) -- with [] and without port will cause dnsdist to halt on startup
newServer({address="[IPv6]:P"})  -- with [] and with port works A-OK
@rgacogne
Copy link
Member

@rgacogne rgacogne commented Sep 15, 2016

The first case "without [] and without port" seems to work fine on master, what version are you using?
With the fix in #4474, dnsdist outputs a useful error message for the rejected addresses, and doesn't exit.

@rgacogne rgacogne closed this Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.