Change Default DNS Server In Arch Linux
Answer : Arch Wiki explains: either use a resolv.conf.head file, or write-protect /etc/resolv.conf . The file /etc/resolv.conf generally should not be edited by hand. Most linux systems use a program called resolvconf that will automatically generate /etc/resolv.conf every time you connect to the LAN (as the post describes). Instead, you want to edit the file /etc/resolvconf.conf . Check man resolvconf for more information.