How To Set Permanent DNS Nameservers in Ubuntu and Debian
source: https://www.tecmint.com/set-permanent-dns-nameservers-in-ubuntu-debian/Install
$ sudo apt install resolvconf
$ sudo systemctl status resolvconf.service
$ sudo systemctl start resolvconf.service
$ sudo systemctl enable resolvconf.service
$ sudo systemctl status resolvconf.service
Configure
$ sudo nano /etc/resolvconf/resolv.conf.d/headadd
nameserver 1.1.1.1
nameserver 1.0.0.1
system restart
$ sudo systemctl start resolvconf.service
Comments
Post a Comment