How to Change your DNS address

Domain Name System (DNS) is used to perform translations, such as Domain names (like www.google.com) to IP addresses (like 142.250.185.36). The main purpose of Domain Name System (DNS) is name resolution (changing domain names to IP addresses). Domain Name Systems come in to play because it is hard to remember the IP address of every website but it’s not that much difficult to remember Domain Names.

A DNS server is a computer that maintains a database of Domain names and their relative public IP addresses. DNS servers are the devices that make the translation (Domain Name to IP address).

By default, Most Devices uses the DNS server provided by your ISP, although you can configure the DNS server by yourself.

Here we are going to see how to change the default DNS server configuration in multiple platforms:

In Windows

  1. Go to Control Panel
  2. then go to Network and Internet
  3. then go to Network and Sharing Center
  4. Click Change Adapter Settings (in the left column)
  5. Select the network which you want to change DNS address.
  6. Right-click on the Network interface you selected and click Properties.
  7. Open the Networking Tab
  8. Then select Internet Protocol Version 4 (TCP/IPv4) or Internet Protocol Version 6 (TCP/IPv6) from the list of connections and click Properties.
  9. In the popup window, select “Use the following DNS server addresses” radio box.
  10. Then Enter your DNS address (Preferred and Alternative DNS server).
  11. Before clicking we recommend to check “Validate settings upon exit” because it will automatically check if your configuration is right of wrong.
  12. Then click ok.

In Apple macOS

  1. Go to Apple Menu 
  2. Select System Preference
  3. Select  Network
  4. Select the network which you want to change DNS address.
  5. Click Advanced
  6. Select DNS tab
  7. Then click the plus(+) icon
  8. Now Enter your DNS address and Click OK, then Click apply.

UNIX or Linux devices

  1. Open terminal (shortcut = Ctrl + T) (Must be in root user)
  2. Run command “nano /etc/resolv.conf”
  3. wait until nano text editor opens resolv.conf file
  4. Then add your DNS servers using this format: nameserver <YOUR DNS SERVER address>
    • For Example: nameserver 8.8.8.8
  5. Save your edit (ctrl + x), then press Y when it asks you to save the file.

Leave a Reply