Encountering the ERR_NAME_NOT_RESOLVED
error can be frustrating and disruptive, particularly when you’re trying to access an important or urgent website. This error is displayed by browsers such as
Chrome,
Firefox, and
Edge when the Domain Name System (DNS) fails to translate a domain name into its corresponding Internet Protocol (IP) address. DNS is a fundamental service that translates human-friendly website addresses (URLs) into numerical IP addresses that computers understand. When DNS resolution fails, browsers can’t establish a connection, resulting in the ERR_NAME_NOT_RESOLVED
error.
Here’s a cleaner, manager-style summary of that point:
Use command-line tools to ensure DNS is working properly:
Windows:
nslookup example.com
, ping example.com
, or Resolve-DnsName example.com
(PowerShell)
Linux/macOS:
dig example.com
, nslookup example.com
, host example.com
, or ping example.com
These commands help quickly identify DNS or connectivity issues.
ipconfig /flushdns
sudo dscacheutil -flushcache
8.8.8.8
and 8.8.4.4
The ERR_NAME_NOT_RESOLVED
error can occur due to several common reasons, each impacting your browsing experience differently:
Incorrect URL: One of the simplest and most frequent causes is an incorrect website URL. This includes typos, misspellings, unnecessary spaces, or accidental additional characters that lead to domain resolution failure.
DNS Server Issues: If your DNS server is temporarily down, slow, or experiencing technical issues, it cannot process DNS requests efficiently, resulting in resolution failures and the ERR_NAME_NOT_RESOLVED
error.
DNS Cache Problems: Your operating system and browser store previously resolved domain names to speed up future access. However, this cache can become outdated or corrupted, causing the DNS to resolve to incorrect IP addresses and leading to errors.
Misconfigured Network Settings: Incorrect or outdated DNS server settings on your device can disrupt the proper functioning of DNS queries. If your system attempts to connect to an inactive or misconfigured DNS server, you will encounter resolution problems.
Firewall or Antivirus Restrictions: Security software such as firewalls, antivirus, or network security tools can inadvertently block DNS queries. This usually happens when these tools are overly restrictive or misconfigured, mistakenly identifying legitimate DNS requests as harmful activities, thus blocking access to certain websites.
Before diving into technical fixes, ensure the website address you’ve typed is correct. A simple typo in the domain name or an extra space can cause the browser to fail in resolving the site. Even an unnoticed mistake like .co
instead of .com
or a misplaced character can trigger this error.
Solution: Carefully check the URL for any errors or unnecessary spaces. If possible, try accessing the website using a different device to verify that the issue is not due to a typo.
Check if DNS resolution is functioning correctly by querying it from the command line:
Windows (Command Prompt or PowerShell):
nslookup
:
nslookup example.com
ping
(for basic resolution):
ping example.com
Resolve-DnsName
(PowerShell only):
Resolve-DnsName example.com
Linux/Mac (Terminal):
dig
(most detailed):
dig example.com
nslookup
:
nslookup example.com
host
:
host example.com
ping
(for basic resolution):
ping example.com
These commands help confirm whether DNS resolution is functioning correctly and can identify if the issue lies with DNS settings or connectivity.
If DNS lookup is successful, the output will display the resolved IP address of the domain (e.g., Name: example.com Address: 93.184.216.34
).
If DNS lookup fails, the output will indicate an error such as Non-existent domain
, NXDOMAIN
, or connection timed out; no servers could be reached
.
Your computer stores DNS information in a local cache to speed up future visits to websites. However, if this cache becomes outdated or corrupt, it can cause the ERR_NAME_NOT_RESOLVED
error. Clearing the DNS cache forces your device to obtain fresh DNS information from your DNS server.
Solution:
Windows + R
to open the Run dialog.cmd
and hit Enter to open Command Prompt.ipconfig /flushdns
and press Enter to clear the DNS cache.sudo dscacheutil -flushcache
and press Enter.After clearing the cache, retry visiting the website.
If the default DNS server you are using is slow or unreliable, switching to a different, more reliable DNS provider can help resolve the issue. Google DNS and Cloudflare DNS are popular choices that often provide faster and more reliable service.
Solution:
8.8.8.8
(Google DNS)8.8.4.4
(Google DNS)+
button to add:
8.8.8.8
(Google DNS)8.8.4.4
(Google DNS)This change forces your device to use a new DNS provider for resolving domain names.
Your browser’s cache and cookies can sometimes interfere with DNS resolution. Clearing the cache can help resolve any issues caused by outdated or corrupt files.
Solution:
Browsers like Chrome use predictive algorithms to preload pages, which can sometimes interfere with DNS resolution. Disabling these services might resolve the error.
Solution:
Disabling this setting can stop Chrome from attempting to pre-resolve websites that might conflict with DNS settings.
In some cases, your firewall or antivirus software might block DNS queries, causing the error. Disabling your firewall or antivirus temporarily can help determine if they are the cause.
Solution:
Make sure to enable your firewall or antivirus again after troubleshooting.
The hosts file on your computer contains mappings of IP addresses to domain names. If there are incorrect entries in this file, it could block access to certain websites.
Solution:
C:\Windows\System32\drivers\etc\hosts
.sudo nano /etc/hosts
.CTRL + X
, then Y
to confirm, and Enter
).Once the hosts file is corrected, try reloading the website.
To begin, ensure your Foundry VTT instance is running on your local machine. By default, Foundry operates on port 30000
.
Start the Foundry VTT Application
Launch the Foundry VTT application as you normally would.
Check Local Network Access
Navigate to Game > Access > Local Network
within the Foundry interface. Here, you’ll see the local network address where Foundry is running, such as:
http://10.123.1.136:30000
Verify the Server is Running
Open your web browser and go to:
http://localhost:30000
If everything is set up correctly, you should see the Foundry VTT login page or welcome screen.
Keep your browser and network drivers updated to ensure compatibility and stability.
Consider using reputable DNS providers like Google DNS (8.8.8.8
, 8.8.4.4
) or Cloudflare DNS (1.1.1.1
) for reliable performance and better security.
Regularly clearing your DNS cache prevents outdated information from causing connectivity issues.
Regularly review your firewall and antivirus configurations to prevent accidental blocking of legitimate DNS queries.
By following these comprehensive steps, you’ll effectively resolve and prevent ERR_NAME_NOT_RESOLVED
errors, ensuring smooth and uninterrupted internet browsing.
Pinggy dynamically assigns DNS records when a tunnel is created. This means that if your browser queries the URL before the tunnel is fully set up, you may encounter the ERR_NAME_NOT_RESOLVED
error. However, the Time-To-Live (TTL) for Pinggy’s DNS records is only 10 seconds. As a result, after waiting for around 10 to 15 seconds, refreshing the page should resolve the issue and allow the URL to load successfully.
The ERR_NAME_NOT_RESOLVED
error can be caused by a variety of factors, from simple typing mistakes to more complex network or DNS configuration problems. By following the above step-by-step troubleshooting methods, you can resolve most issues and get back to browsing without interruptions.