Skip to main content

How to troubleshoot DNS settings (Windows, macOS, Linux)

If your node cannot establish connections or browsing fails, there may be an issue with your DNS configuration.

A
Written by Adine

Windows

Flush DNS and reset network

Open Command Prompt (Run as Administrator) and run:

ipconfig /flushdns
ipconfig /registerdns
ipconfig /release
ipconfig /renew
netsh winsock reset catalog
netsh int ipv4 reset reset.log
netsh int ipv6 reset reset.log

Use alternative DNS servers

  1. Open Control Panel → Network and Internet → Network and Sharing Center

  2. Click Change adapter settings

  3. Right-click your network → Properties

  4. Select Internet Protocol Version 4 (TCP/IPv4)

  5. Set DNS servers:

8.8.8.8
8.8.4.4

macOS

Flush DNS

Open Terminal and run:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Restart mDNSResponder (optional)

  1. Open Activity Monitor

  2. Find mDNSResponder

  3. Stop the process


Linux

Check DNS configuration

Open:

cat /etc/resolv.conf

Ensure valid DNS servers are listed.

Test DNS resolution

nslookup google.com

or

dig google.com

Check connectivity

ping 8.8.8.8

Notes

  1. You can use public DNS servers like:

    1. 8.8.8.8 (Google)

    2. 1.1.1.1 (Cloudflare)

  2. Restart your node after making changes.

Did this answer your question?