How to Change DNS Settings on a Router

Changing your router's DNS settings affects every device on your network, potentially improving internet speed, security, and access to content. Most routers use your ISP's default DNS servers, but you can configure custom DNS providers like Cloudflare, Google, or OpenDNS.

  1. Connect to your router's admin interface. Open a web browser and enter your router's IP address in the address bar. Common addresses are 192.168.1.1, 192.168.0.1, or 10.0.0.1. Press Enter and log in with your admin username and password. If you haven't changed these, check the router label for defaults or try admin/admin.
  2. Navigate to the DNS settings section. Look for sections labeled Network, Internet, WAN, or Advanced Settings. The DNS configuration is typically under Internet Settings, WAN Setup, or Network Configuration. Some routers place it under DHCP settings or LAN configuration.
  3. Locate the DNS server fields. Find the Primary DNS and Secondary DNS server fields. They may be labeled as DNS Server 1 and DNS Server 2, or Preferred and Alternate DNS. These fields currently show your ISP's DNS servers or may be set to obtain automatically.
  4. Enter your preferred DNS servers. Clear the existing DNS addresses and enter your chosen DNS servers. For Cloudflare, use 1.1.1.1 (primary) and 1.0.0.1 (secondary). For Google DNS, use 8.8.8.8 and 8.8.4.4. For OpenDNS, use 208.67.222.222 and 208.67.220.220.
  5. Save the configuration. Click Save, Apply, or OK to save your changes. The router may display a warning that it needs to restart. Allow the restart to complete, which typically takes 1-2 minutes.
  6. Flush your device's DNS cache. On Windows, open Command Prompt as administrator and type 'ipconfig /flushdns'. On Mac, open Terminal and type 'sudo dscacheutil -flushcache'. On mobile devices, restart your Wi-Fi connection by turning Wi-Fi off and on.
  7. Test the new DNS configuration. Visit a website you haven't accessed recently to test the new DNS servers. You can also use nslookup or dig commands to verify which DNS server is responding, or visit a DNS leak test website to confirm your changes took effect.

Related

  • How to Prepare Recovery Codes Before Travel
  • How to Organize and Label Your Chargers and Cables
  • How to Digitally Organize Device Receipts and Serial Numbers
  • Essential Accessories for Your New Phone
  • How to Build an Essential Laptop Accessory Kit
  • Establish a Data Backup Strategy Before New Hardware Integration