Skip to content

newServer() IPv6 parse failure? #4471

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

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

Comments

@naughtshoor
Copy link

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants