Closed seitzbg closed 7 years ago
I'm guessing ::5400:
vs ::540:
is just a typo, and not what really happend, right?
no, the listen address was definitely ::540:53, that was from netstat.
Ah right. Please use the --wide
/-W
option with netstat.
This has been fixed in master.
Short description
dnsdist doesn't seem to properly parse/error on addLocal IPV6 statements.
Environment
Steps to reproduce
Expected behaviour
dnsdist would start and listen on the ipv6 address provided.
Actual behaviour
dnsdist either failed to start or listened on an incorrect address.
Other information
If you provide a directive like this:
addLocal("2001:19f0:5:2e8:5400:ff:fe1f:ff12:53", true, false)
It produces the following errors
If you add a shorter directive:
addLocal("2001:19f0:5:2e8::5400:53", true, false)
It starts up and listens on:
tcp6 0 0 2001:19f0:5:2e8::540:53 :::* LISTEN 20150/dnsdist
Clearly the proper syntax for IPV6 is:
[ipv6_address]:port
, which works as expected.