Created
May 29, 2021 09:32
-
-
Save jamesridgway/3a2c8bc8e535e4f08ab5b9f64861445f to your computer and use it in GitHub Desktop.
Ubuntu 20.04 DNS Resolution
This file contains 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
# Installing resolvconf in Ubuntu | |
sudo apt update | |
sudo apt install resolvconf | |
# Start | |
sudo systemctl start resolvconf.service | |
sudo systemctl enable resolvconf.service | |
sudo systemctl status resolvconf.service | |
# Edit Nameserver Entries | |
sudo vim /etc/resolvconf/resolv.conf.d/head | |
# Add "nameserver 8.8.8.8" or whatever IP you want for your upstream DNS | |
# Restart | |
sudo systemctl restart resolvconf.service | |
sudo resolvconf -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment