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.
Record the baseline
Record static DNS values or the previous automatic mode, establish the scope and obtain owner approval.
Change DNS only
Enter addresses for a trusted, approved resolver in the appropriate IPv4 or IPv6 family; preserve IP and gateway settings.
Test names and the resolver
Test public and internal work names, inspect the actual DNS configuration and check browser or VPN behavior.
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.
