Closed ezaquarii closed 5 years ago
resolve.conf is very old concept and very limited in what it can represent and new concepts introduced by systemd-resolved such as routing DNS queries through specific interfaces can't be represented in resolve.conf
If you use systemd-resolved for resolving then you should be looking at resolvectl status
(systemd-resolve --status
when using systemd <239) and not resolve.conf
Yeah... there are some bug reports about systemd
switching DNSes in unpredictable way...
So apart from resolve.conf not looking like what you would expect – can you describe what behavior you expect and what's the actual behavior? Please, provide as much information as you can (output from resolvectl status
would be very helpful).
It looks like the systemd DNS routing behaves correctly.
The script is run, but when I investigated resolv.conf I find this::
This has 2 issues:
IMO the script should replace DNS servers somehow, or at least provide an option to do this.