User Tools

Site Tools


linux:dns-server-change

This is an old revision of the document!


DNS server change

While the default DNS server configuration is in /etc/resolv.conf, systemd and possibly other services may adjust this file. Changes to /etc/resolv.conf work immediately, but may be overwritten after reboot.

To permanently change the dns configuration, edit /etc/resolvconf/resolv.conf.d/head instead and reload services or restart the system.

https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/

linux/dns-server-change.1656589813.txt.gz · Last modified: 2023/05/29 11:53 (external edit)