How to change DNS settings?

Knowledge Base > Migration > How to change DNS settings?

Changing DNS settings is a straightforward process that allows users to optimize their internet connection, enhance security, and potentially improve overall browsing performance. Whether you’re looking to switch to a faster DNS provider or implement specific security features, here’s a step-by-step guide to help you navigate the process.

1. Understand the Basics:

Before diving into changing DNS settings, it’s essential to understand what DNS is and the role it plays. DNS, or Domain Name System, translates human-readable domain names into machine-readable IP addresses, enabling seamless communication between your device and the internet.

2. Choose a DNS Provider:

  • Selecting a Provider: Decide on the DNS provider you want to use. Popular choices include Google’s Public DNS, Cloudflare’s, and OpenDNS. Consider factors such as performance, security features, and any additional services offered by the provider.

3. Locate DNS Settings:

  • On Windows:
    • Open the Control Panel.
    • Navigate to “Network and Sharing Center.”
    • Click on “Change adapter settings.”
    • Right-click on your active network connection and select “Properties.”
    • Choose “Internet Protocol Version 4 (TCP/IPv4)” and click “Properties.”
    • Select “Use the following DNS server addresses” and enter the preferred and alternate DNS server addresses.
  • On macOS:
    • Open “System Preferences.”
    • Click on “Network.”
    • Select your active network connection.
    • Click “Advanced.”
    • Navigate to the “DNS” tab.
    • Add or remove DNS servers using the “+” and “-” buttons.
  • On Linux:
    • The process varies depending on the distribution. In general, look for network settings or connections in your system settings.
    • Navigate to the DNS configuration section and enter the desired DNS server addresses.
  • On Android:
    • Open “Settings.”
    • Go to “Network & Internet” or similar.
    • Select “Wi-Fi” and tap on the connected network.
    • Choose “Advanced” or “Modify network” and enter the DNS server addresses.
  • On iOS:
    • Open “Settings.”
    • Tap on “Wi-Fi.”
    • Click the information icon next to the connected network.
    • Scroll down to the DNS section and enter the preferred and alternate DNS server addresses.

4. Enter DNS Server Addresses:

  • Primary and Alternate Addresses: When changing DNS settings, you typically need to enter two addresses: the primary DNS server address and the alternate DNS server address. These are provided by your chosen DNS provider.

5. Test the Changes:

  • Verify Configuration: After changing DNS settings, it’s advisable to test the configuration to ensure that the new DNS servers are working correctly. You can use online tools or command-line utilities to check DNS resolution times and confirm the effectiveness of the changes.

6. Consider Additional Settings:

  • Security Features: Some DNS providers offer additional security features, such as DNS over HTTPS (DoH) or DNS over TLS (DoT). If security is a priority, explore these options and configure your settings accordingly.
  • Logging and Filtering: Certain DNS providers offer logging and filtering features that can enhance your online experience. Evaluate the options provided by your chosen DNS service and adjust settings as needed.


Changing DNS settings is a user-friendly process that empowers individuals to tailor their internet experience. Whether aiming for faster browsing, enhanced security, or additional features, following these steps ensures a smooth transition to a DNS configuration that aligns with your preferences and priorities. Regularly reviewing and adjusting DNS settings can contribute to an optimized and secure online environment.

Common Questions

  • Why would I want to change my DNS settings?

    Changing DNS settings can offer several benefits. It allows you to potentially improve internet speed, enhance security features, and access additional services offered by alternative DNS providers. It’s a user-friendly way to customize your internet experience based on your preferences and priorities.

  • How can changing DNS settings improve internet speed?

    By switching to a faster DNS provider, you can potentially reduce the time it takes to translate domain names into IP addresses. This can result in quicker website loading times and a more responsive internet browsing experience.

  • Can changing DNS settings enhance security?

    Yes, changing DNS settings can enhance security. Some DNS providers offer features like DNS Security Extensions (DNSSEC) and encryption protocols like DNS over HTTPS (DoH) or DNS over TLS (DoT). These features add an extra layer of security, protecting your DNS queries from potential threats.

  • Are there risks involved in changing DNS settings?

    Changing DNS settings is generally low-risk, and users can easily revert to their default settings if needed. However, it’s essential to choose reputable DNS providers and be cautious of potential phishing attacks or malicious DNS servers that may compromise your internet security.

  • Can I use a mix of DNS providers on different devices?

    Yes, you can use different DNS providers on various devices. Each device can be configured individually to use a specific DNS provider. This flexibility allows you to tailor DNS settings based on the preferences or requirements of each device.

  • How often should I change my DNS settings?

    The frequency of changing DNS settings depends on personal preferences and requirements. If you’re satisfied with your current DNS provider and experience no issues, there might be no need to change. However, reviewing and adjusting DNS settings periodically can be beneficial to explore new features or improve performance based on evolving needs.