AKZN Notes

Archives for My Lazy and Forgetful Mind

Tag: resolve.conf

Configuring DNS in Linux with resolv.conf

In Linux, you can configure DNS settings using the resolv.conf file. Here’s a quick guide to get you started: Open a terminal. Edit the resolv.conf file using a text editor: sudo nano /etc/resolv.conf Add your preferred DNS servers: nameserver 8.8.8.8 nameserver 8.8.4.4 Save the changes and close the text editor. To prevent overwriting, create a […]