Can I Change My DNS Server?


Larry Thompson

Can I Change My DNS Server?

Changing your DNS (Domain Name System) server can help improve your internet speed, security, and overall browsing experience. DNS is responsible for translating domain names, such as, into IP addresses that computers can understand.

Why Would You Want to Change Your DNS Server?

There are several reasons why you might want to change your DNS server:

  • Better Performance: Your internet service provider (ISP) may not have the fastest or most reliable DNS servers. By switching to a different DNS server, you may experience faster browsing speeds and reduced latency.
  • Enhanced Security: Some DNS servers offer additional security features like blocking malicious websites and preventing phishing attacks. Changing to a more secure DNS server can help protect your devices from online threats.
  • Bypassing Restrictions: In some cases, changing your DNS server can allow you to access websites or content that may be blocked or restricted by your current ISP.

How to Change Your DNS Server

Step 1: Determine the Current DNS Server

You first need to find out which DNS server you are currently using. To do this:

  1. Windows:
    • Open Command Prompt: Press the Windows key + R, type “cmd” (without quotes), and press Enter.
    • Type Command: In the Command Prompt window, type “ipconfig /all” (without quotes) and press Enter.
    • Locate “DNS Servers”: Look for the “DNS Servers” line and note down the IP addresses listed.
  2. Mac:
    • Open System Preferences: Click on the Apple menu, select “System Preferences,” and click on “Network.”
    • Select Network Connection: Choose your active network connection (Wi-Fi or Ethernet) from the left sidebar.
    • Click on “Advanced”: In the Network window, click on the “Advanced” button in the bottom right corner.
    • Go to DNS Tab: In the Advanced window, navigate to the “DNS” tab.
    • Note Down DNS Server Addresses: You will find your current DNS server addresses listed here.
  3. Linux:
    • Open Terminal: Open a terminal window.
    • Type Command: In the terminal, type “nmcli dev show | grep ‘IP4.DNS'” (without quotes) and press Enter.
    • Note Down DNS Server Addresses: The output will display your current DNS server addresses.

Step 2: Choose a New DNS Server

You have several options when it comes to selecting a new DNS server. Some popular choices include Google Public DNS, OpenDNS, and Cloudflare DNS. Research each option and choose one that best suits your needs.

Step 3: Change Your DNS Server

The process for changing your DNS server varies depending on your operating system:

  1. Windows:
    • Open Network Connections: Right-click on the network icon in your system tray and select “Open Network & Internet settings. “
    • Go to Network Settings: In the Settings window, click on “Change adapter options.

    • Select Network Connection: Right-click on your active network connection and choose “Properties. “
    • Select IPv4 Properties: In the Properties window, double-click on “Internet Protocol Version 4 (TCP/IPv4). “
    • Enter DNS Server Addresses: Choose the “Use the following DNS server addresses” option and enter the IP addresses of your new DNS server.
    • Save Changes: Click “OK” to save the changes.
  2. Mac:
    • Open System Preferences: Click on the Apple menu, select “System Preferences,” and click on “Network.
    • Navigate to DNS Tab: In the Advanced window, go to the “DNS” tab.
    • Add New DNS Server Addresses: Click on the “+” button at the bottom left of the DNS Servers list and enter the IP addresses of your new DNS server.
    • Edit Network Configuration File: Open a terminal and edit the network configuration file using a text editor (e.g., sudo nano /etc/network/interfaces).
    • Add DNS Server Addresses: Add the line “dns-nameservers x.x.x” (replace x.x with the IP addresses of your new DNS server) under the appropriate network interface section.
    • Save Changes: Save the file and exit the text editor.
    • Restart Network Service: Restart your network service for the changes to take effect (e., sudo systemctl restart networking).


    In summary, changing your DNS server can have various benefits such as improved performance, enhanced security, and bypassing restrictions. By following the steps outlined above, you can easily change your DNS server on different operating systems. Experiment with different DNS servers to find one that best suits your needs and enjoy a faster and more secure browsing experience.

Discord Server - Web Server - Private Server - DNS Server - Object-Oriented Programming - Scripting - Data Types - Data Structures

Privacy Policy