Azerbaijan, Georgia, Uzbekistan
XcitiumRequest a demo
MenuClose
All materials

Network guide · DNS

How to change a DNS server

Changing a DNS server changes how domain names are resolved to IP addresses. The setting can live on a device or on the router. Record the current configuration first, then review the new resolver’s privacy, filtering and availability policies.

Server rack and network cabling in an office data center

Key takeaway

Enter the resolver address carefully, test connectivity and restore the previous configuration if anything breaks.

What a DNS server does

A DNS resolver maps a domain name to an IP address so a browser can connect. Choosing another resolver can affect response time, filtering and who handles query data. DNS alone does not encrypt web traffic or provide complete protection from malicious sites.

Change it on Windows, macOS or a router

On a managed device or network, obtain the owner’s approval first. In Windows, change preferred and alternate DNS servers in the adapter’s IPv4 or IPv6 settings, preserving the IP address and gateway. On macOS, open System Settings → Network → the service → Details → DNS, add the server, then save and confirm the changes. Router controls usually sit under LAN/DHCP or internet settings; labels vary by manufacturer.

Test the new setting safely

Windows 11 exposes a DNS over HTTPS setting; Windows 10 does not provide that system setting. If DoH is enabled, check whether unencrypted fallback fits policy. Browser secure DNS or a VPN may use a different resolver; a loading website alone does not verify the intended configuration.

  1. Record the baseline

    Record static DNS values or the previous automatic mode, establish the scope and obtain owner approval.

  2. Change DNS only

    Enter addresses for a trusted, approved resolver in the appropriate IPv4 or IPv6 family; preserve IP and gateway settings.

  3. Test names and the resolver

    Test public and internal work names, inspect the actual DNS configuration and check browser or VPN behavior.

  4. Restore if needed

    Restore the recorded static values; return to automatic mode only if it was previously automatic.

Compare resolver choices

Review the provider’s privacy policy, query retention, filtering categories, availability and DoH/DoT support. A resolver will not be fastest on every network, so test it where it will be used. A router change may update many devices through DHCP, so assess the scope first.