Created
November 12, 2022 06:07
-
-
Save pnsinha/353c0670fdc8c7e8e69f6932a3cc5de9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /etc/resolvconf/resolv.conf.d | |
| sudo cp -p head head.orig #backup copy, always do this | |
| #sudo nano head | |
| #nameserver <ip_of_nameserver> | |
| echo "nameserver 8.8.8.8" | sudo tee -a head | |
| #regenerate resolvconf | |
| sudo resolvconf -u |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo systemd-resolve --interface eth0 --set-dns 8.8.8.8 --set-domain storage.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment