- 7.3.0-beta.1
- Retest
- Minor
Environment
Unraid OS: 7.2.3
Network management:
/usr/local/etc/rc.d/rc.inet1host utility: BIND 9.20.15 (
/usr/bin/host)Resolver library:
libresolv.so.2
Configuration
IPv6 enabled
Static IPv6 DNS configured in
/boot/config/network.cfgExample configuration:
DNS6_SERVER1="2001:db8:abcd:1:53::"
Observed behaviour
rc.inet1generates/etc/resolv.confcontaining IPv6nameserverentries with a stripped:at the end when the address is compressed.Certain IPv6 textual representations written to
/etc/resolv.confcausehostcorrectly to fail with:host: parse of /etc/resolv.conf failed
Reproducible cases
boot/config/network.cfgcontaining:DNS6_SERVER1="2001:db8:abcd:1:53::"results in a
/etc/resolv.confcontaining:nameserver 2001:db8:abcd:1:53:Result:
host example.com → host: parse of /etc/resolv.conf failed/etc/resolv.confcontaining:nameserver 2001:db8:abcd:1:53::Result:
host example.com → works