Home » Linux
How to change DNS servers on Linux (Ubuntu/RedHat/All Distros)
Here’s a quick tutorial for a simple but important task – manually setting the DNS server on your Linux system. The steps in this tutorial should work for all Linux distributions – both server and desktop. Manually setting your DNS server is particularly useful if you’re setting up a Pi-Hole ad blocker. Backup Existing DNS Configuration If an existing manual DNS configuration exists, back it up by copying it to a new file: sudo cp /etc/resolv.conf /etc/resolv.conf.bak Edit Linux DNS Configuration The nano text editor … Read more