by dheera · 6y ago · 0 comments
I used to just edit /etc/resolv.conf and add 8.8.8.8 to it but now recent distros have "Do not edit." in resolv.conf and don't tell you what to actually edit. Why do they have to do this to us ... things used to be simple.
Today, you can set up DNS per interface and designate, which DNS accessible via which interface can resolve which zones. So your intranet.company.com can go through specific VPN connection and the rest via your default route, for example.
You can't do that with simple /etc/resolv.conf.
https://wiki.archlinux.org/index.php/Systemd-resolved#Settin...