systemd
systemd copied to clipboard
ndisc: IPv6AcceptRA.UseDNS is ignored
Submission type
- [X] Bug report
- [ ] Request for enhancement (RFE)
systemd version the issue has been seen with
232
Used distribution
Gentoo
In case of bug report: Expected behaviour you didn't see
When setting UseDNS=no in a [IPv6AcceptRA] section of a .network file, both RDNSS and DNSLL options in received RA should be ignored.
In case of bug report: Unexpected behaviour you saw
RDNSS and DNSLL options received in RA are always used, possibly breaking the resolution of private domains hosted on a local DNS server.
In case of bug report: Steps to reproduce the problem
- add at least the following in a .network file
[Network]
IPv6AcceptRA=yes
[IPv6AcceptRA]
UseDNS=no
- ensure a local router sends RA with RDNSS and/or DNSLL option
- the provided RDNSS and/or DNSLL option is appended to /run/systemd/resolve/resolv.conf