3 способа исправить ошибку dns lookup failed
Tech news
Если вы используете широкополосное подключение, » DNS Lookup failed» является очень распространенной проблемой в браузере Google Chrome. В основном эта проблема возникает, когда сетевое соединение не работает должным образом или когда DNS-сервер перестает отвечать. Не волнуйтесь, это обычная проблема, и ее можно легко решить. С помощью этого руководства вы сможете легко исправить ошибку DNS Lookup failure в Windows.
Как исправить ошибку DNS Lookup Failed?

Не существует правильного решения для этой ошибки. Поэтому вы можете попробовать следующие методы один за другим в том же порядке, как они описаны ниже.
Метод 1: Очистить кэш DNS
Windows и другие операционные системы хранят все свои данные DNS в кэше. При каждой попытке соединения или при отсутствии информации ваш DNS-провайдер информируется об этом. Суть этого хранения заключается в облегчении соединения. В кэше содержится информация и записи о веб-сайтах, которые вы посещали ранее. При удалении файлов кэша вся информация удаляется. Это популярный метод, используемый для устранения различных ошибок Google Chrome, таких как dns_probe_finished_no_internet , unable to connect to the proxy server и т.д. Очистка DNS не является сложным процессом. Любой может сделать это с легкостью.
- Лучший и самый простой способ — это нажать Windows Key + R , чтобы открыть диалоговое окно run.
- Затем введите cmd и нажмите enter.
- Введите ipconfig / flushdns в командной строке и нажмите enter.

- Это удаляет весь кэш и гарантирует, что DNS кэш был удален и соединение работает правильно.
Метод 2 — Изменение DNS сервера
Вы можете попробовать этот метод, если вышеуказанный метод не работает. В этом методе вам нужно изменить адрес DNS-сервера вашего компьютера. Это можно сделать, выполнив следующие действия:
- Нажмите Windows + R, чтобы открыть окно запуска. В окне запуска введите ncpa.cpl и нажмите enter.
- Откроются сетевые подключения, теперь щелкните правой кнопкой мыши на адаптере WiFi или Ethernet и выберите Properties.

- Двойной щелчок на Internet Protocol Version 4 (TCP/ IPv4) и выберите Use the following DNS server addresses. Добавьте следующие адреса DNS-серверов, показанные ниже.

Мы использовали DNS-сервер Google, но вы можете использовать и другой DNS-сервер. Посмотрите лучший DNS-сервер для игр .
Метод 3 — Очистка кэша/куки
Помните, что перед тем, как попробовать этот метод, убедитесь, что вы попробовали первый и второй методы. В этом методе вам нужно очистить кэш и куки, а также данные просмотра. Для этого просто нажмите на значок параметров на панели инструментов и выберите Настройки. Затем прокрутите страницу вниз и нажмите на Расширенные настройки. В разделе Конфиденциальность и безопасность нажмите на Очистить данные просмотра.

Кроме того, вы можете попробовать отключить дополнения, потому что они могут быть возможной причиной ошибки DNS Lookup Failed. Это может устранить проблему. Если ошибка все еще существует, вы можете использовать режим приватного просмотра. Это также может быть альтернативным решением проблемы.
Наконец, вы должны выработать привычку регулярно обслуживать свою систему. Когда существует постоянная проблема вредоносных программ и вирусных атак, поврежденных данных, проблема поиска DNS является одним из последствий. Эта ошибка часто возникает из-за того, что вы не обслуживаете свой компьютер на регулярной основе, и происходит сбой DNS Lookup Failure.
Easily Fix DNS lookup Failed Error [Complete Guide]
DNS Lookup Failed is actually quite a common error that is being faced by a lot of Chrome users. However, the error isn’t restricted to just Chrome, there have been instances on Mozilla Firefox and other browsers as well. In this article, we have compiled solutions, workarounds, and fixes that will help you to completely get rid of the error message.

Also, we have acquired some information as to why it occurs in the first place and have also listed the reasons below. Make sure to read through the reasons why it occurs and then start implementing the solutions one-by-one until one of them fixes this error message for you.
What Causes the DNS Lookup Failed Error?
After going through certain solutions and workarounds, we came to the conclusion as to why this error is triggered in the first place.
- Network Issue: It is possible that your Network is being glitched or it is bugged due to which the DNS lookup Failed error is being triggered. Therefore, we suggest that you try and fix the network issues by running the troubleshooter as mentioned below.
- IP Address: Sometimes, the IP address might be blocked on the DNS server or it might have gotten blacklisted due to suspicious activities. Therefore, we suggest that you try and get around this error by trying to change your IP address.
- DNS cache: The DNS cache being stored on your computer can sometimes be corrupted which can end up causing the DNS loop failed issue. Therefore, we strongly suggest that you try and clear it out by flushing it completely.
- Chrome Extensions: The Chrome browser might have some faulty extensions installed due to which the connection might get derailed. Therefore, we suggest that you try and disable the Chrome extensions as mentioned below. The same goes for other browsers as well, you can try to block extensions and then check if doing so fixes the issue.
Now that we have taken you through almost all the listed reasons, it is about time that we start implementing the solutions.
Fixing the DNS Lookup Failed Issue:
Solution 1: Use Network Troubleshooter
Running the Network Troubleshooter might very well resolve the issue. Follow the steps below to access it:

- Press the “Windows + I” buttons on your keyboard simultaneously to open the settings.
- Once in the Windows Settings, click on the “Network & Internet” option.
- Now select “Network Troubleshooter” under Advanced Network Settings. After diagnosing is complete, the troubleshooter should display solutions in case any problems were found.
This should help resolve any possible issues with network settings and might resolve the DNS Lookup Failure error.
Solution 2: Reset Your IP Address
Turn off your Modem and turn it back on after 30 seconds. This should change your IP Address and possibly resolve the DNS Lookup Failed issue as well. While waiting to turn the modem back on, you should restart your computer as well.

Solution 3: Flush the DNS Cache
Flushing the DNS cache can potentially fix the DNS lookup failure error, follow the method below to do so:
- In the search bar near the Start menu type in “CMD”, and right-click on “Command Prompt” to select “Run As Administrator”.

- Once the Command Window opens, type in the following commands and press “Enter” on your keyboard after each command:

- Check to see if doing so fixes the DNS lookup Error.
Solution 4: Change the DNS Server
Another possible fix is to change the DNS Server address. To do this you must follow the below-indexed steps:
- Press the “Window + R” keys together to open up the “Run” dialog box.
- In the Run prompt, type in “ncpa.cpl” and press “Enter” to open up the Network Connections window.

- Your current network connection will now be visible to you, right-click on it and select “Properties”.
- Now select “Internet Protocol Version 4 (TCP/IPv4)” and click on “Properties”.
- Choose the option that says “Use the following DNS server addresses” and type in the fields below.

- Type in “8.8.8.8” in the Preferred DNS Server and “8.8.4.4” in the Alternative DNS Server box.
- Click on the “OK” button and close the other windows.
- Check to see if the DNS lookup Failed error is fixed.
Solution 5: Reset the Winsock Catalog
If the above fixes did not work for you, try resetting your Network Stack by following the steps below:

- In the search bar near the Start menu type in “Run” and press “Enter”.
- In the Run dialogue box, type in “cmd” and on your keyboard press and hold the following buttons in order: “Ctrl + Shift + Enter”.
- This should run the Command Prompt window as “Administrator”.
- Once the Command Window opens up, type in the following command and press “Enter”.
- Press “Enter” and then “Restart” your computer.
Solution 6: Disable Chrome’s Extensions
Some extensions might mess up your browser function. To rule out the possibility of an extension causing the error, we are going to disable all the extensions by following the procedure below:

- In the search bar of Chrome, type in “chrome://extensions” and press“Enter”.
- You will now see all of your installed extensions. “Disable” all of them one by one.
- Afterward “Restart” your browser.
If this resolved your issue, this means there is an extension that is causing the DNS Lookup Failure error. To figure out the culprit, enable the extensions one by one again until you come up with the issue again.
Solution 7: Clear Chrome’s Browsing Data
The other thing that you can try is to clear Chrome’s data as chances are it might resolve the issue as well.

- Click on the 3 dots at the top-right corner in Google Chrome that says, “Customize and Control Google Chrome”
- From the drop-down menu hover your mouse over to the option “More Tools” and then click on “Clear Browsing Data”
- Now go to the “Advanced” tab and change the time range to “All Time”.
- Tickmark “Browsing History”, “Cookies” and “Cached Images and Files” checkboxes.
- Now click on the “Clear Data” button.
Solution 8: Change Your Browser
Once all the above fixes fail and the issue persists you should consider changing your browser. We would suggest switching to “Opera” as it is a very stable browser and has tons of built-in features and tools that can prove useful at times.
Solution 9: Disable Proxy (Firefox Users only)
Firefox users who encounter DNS Failure error can follow the method below to resolve the issue:
- Launch Firefox Browser and click on the three horizontal lines at the top right corner that says “Open Application Menu” and select “Options”.

- Here, scroll down to the bottom at “Network Settings” and click on the “Settings” option.

- In the pop-up Connection Settings window select the “No Proxy” option under Configure Proxy Access to the Internet.
- Click “OK” to save the changes.
- “Restart” your browser and hopefully, the issue will be resolved now.
Hopefully, by following all of the above fixes you might be able to get rid of the error easily but if it continues to stay then you may Contact Us here for further help.
Dns lookup failed что значит
This issue happens when a DNS lookup is performed on a Linux system, and an IP address is not returned.
Check RunBook Match
If your application is pausing when a network request happens, this runbook may be a match.
This failure might be intermittent (due to caching of DNS responses in the application), or consistent.
If the DNS response is delayed, but returns a correct IP address see the DNS lookup delay runbook.
This runbook assumes you are on a Linux machine.
Initial Steps Overview
Detailed Steps
1) Determine whether the Internet is accessible
First, check whether you have internet access at all. Surprisingly often, this is the root cause.
To determine this without relying on DNS lookups, run:
If you see output similar to this:
then you have internet access.
If you do not, then the root cause is that you don’t.
2) Determine whether all DNS lookups are failing
Run a DNS lookup against a stable site:
The output should look similar to this:
Now run this command:
Compare the output of the two dig commands you just ran.
The first two numbers in the IP address in the last line ( 216.58 in the above example output) should match in your output.
If they match, then DNS lookup is working for at least some DNS entries.
If they do not match, then DNS lookup is not working on your host.
Note the above outcome down as ‘DNS not working for all’ or ‘DNS working for some’, as it will be used later.
3) Determine DNS lookup method
There are numerous ways DNS lookups can be performed. We now need to gather some facts about your host to determine what is doing the DNS lookup.
3.1) nsswitch config
Run this command:
If you see the output:
then note that you are not using nsswitch.
Otherwise you see output like this:
Note down the words after ‘‘hosts:’’ as your ‘nsswitch methods’
3.2) nsswitch host: /etc/hosts
If you are using nsswitch, and if host was in your nsswitch methods , then check whether the host that’s failing is in your /etc/hosts file.
If it is, then go to Solution A and edit your /etc/hosts file.
3.3) nsswitch dns: /resolv.conf
If you are using nsswitch, and dns was not in your ‘nsswitch methods’ then its absence may be the problem. Try adding it to see if that resolves your issue.
If you are using nsswitch, and dns was in your ‘nsswitch methods’, then run this command:
Note the output as ‘dns servers in resolv.conf’ in the order they are seen in the ‘’/etc/resolv.conf’’ file.
3.4) Check Nameserver
For the first item in your ‘dns servers in resolv.conf’ list, determine:
Is your DNS server IP address (‘DNSSIPA’) pointed to the localhost network?
Is your DNSSIPA pointed to your local network?
Is your DNSSIPA pointed to the internet?
To determine the answer to the above, follow the instructions below:
If the DNSSIPA matches: 127.0.0.x , where x is any number between 0 and 255 , then your DNS server is running locally. Proceed to Find local DNS server
If your DNSSIPA is in any of the following ranges: 10.0.0.0-10.255.255.255 , 172.16.0.0-172.31.255.255 , or 192.168.0.0-192.168.255.255 , then your DNSSIPA is pointed to a local network. Otherwise, it’s likely to be pointed at an internet address. If you’re still unsure run: dig +short @8.8.8.8 -x DNSSIPA , where DNSSIPA should be replaced with the actual IP address. If the output is empty then the IPA is pointed to your local network. If it is not empty, then it is pointed to the internet.
If your DNSSIPA is pointed at the internet, then proceed to the solution here. If that solution does not resolve, continue.
4) Check IPTables / Netfilter
Run this script:
If this produces any output lines at all, it may be that IPTables/NetFilter is diverting the DNS request and causing the issue. Try going to Solution B to see if that works.
If you are unsure whether IPTables/NetFilter are in place at all on your system, see here.
Your IPTables output might suggest that requests to port 53 are being diverted to another local DNS server (Vagrant’s landrush plugin does this, for example). See the next step for more on this.
5) Find Local DNS Server
If you still have not discovered the cause, then it is possible you have a local DNS server that is intercepting requests and at fault.
As root, run:
this will tell you if any program is responding to DNS requests.
If the output is:
- dnsmasq , then dnsmasq may be at fault
If you want to explore further, there may be other programs listening for UDP requests on your hosts. This command, run as root will show you these:
Solutions List
Solutions Detail
A) Edit /etc/hosts
Comment out the identified entry in /etc/hosts and go to Check Resolution.
B) Disable iptables
Use systemctl disable (or whichever method of disabling services exists on your system) to disable iptables .
If it works (see Check Resolution), then it may be that IPTables is redirecting your requests to a different location.
In this case, you will need to determine why this IPTables rule exists and fix accordingly. The fix will be context-dependent.
Examples of legitimate reasons for doing this include:
- Vagrant plugins (eg Landrush: https://github.com/vagrant-landrush/landrush/blob/master/README.adoc)
C) Change DNS Server in /etc/resolv.conf
As root, replace the IP address of the DNS server on the first line beginning nameserver with a public DNS server that is likely to be available, eg Google’s DNS server on: 8.8.8.8 .
Check Resolution
Try running dig or curl against any domains that caused issues before, eg
If they appear to work now, then retry your original application.
If your original application still fails, it may have cached the bad lookup. A restart of the application may help.
Whether this fully resolves your issue will depend on the intention behind the design of the network you run on. If you are not fully responsible for it, then you will need to take the information you have gathered here to whoever is responsible for it.
5 Tested Methods to Fix Browser DNS Lookup Failed on Your PC
Check the browser cookies and cache or switch to a public DNS server
- Users reported getting DNS lookup failed errors when using their browsers.
- If you too encountered this error message, clear the browser cookies and cache, or flush the DNS, amongst other methods here.
- Also, find out how to find the DNS server in Windows.

- Easy migration: use the Opera assistant to transfer exiting data, such as bookmarks, passwords, etc.
- Optimize resource usage: your RAM memory is used more efficiently than in other browsers
- Enhanced privacy: free and unlimited VPN integrated
- No ads: built-in Ad Blocker speeds up loading of pages and protects against data-mining
- Gaming friendly: Opera GX is the first and best browser for gaming
- Download Opera
The DNS lookup failed message on the browser is a net connection error. The Google Chrome error message states This webpage is not available. The server at… can’t be found, because the DNS lookup failed.
The error message prevents users from accessing the website, but it, in most cases, doesn’t have to do with the website at all. Rather, the error is related to misconfigured browser settings, the presence of conflicting applications, or issues with the current DNS server.
Many came across the error in these cases:
- 504 DNS lookup failed FortiGate: Users with the FortiGate firewall have reported encountering the error frequently, and disabling the firewall did the trick.
- DNS lookup failed VPN: When encountering the error while using a VPN, switching to a reliable VPN should fix the error.
So, let’s find out how you can fix the DNS lookup failed error on your browser in the following sections, and all about the error itself.
What does it mean when DNS failed?
A DNS failed error basically indicates the inability to connect to the corresponding IP address of the website. It could be to problems with the DNS server itself, misconfigured network settings, or third-party applications conflicting with it.
In most cases, the solutions are simple and things are up and running in a jiffy. Many recommend switching to public DNS servers, such as that of Google, to eliminate errors like these.
Quick Tip:
If Google Chrome persists in showing you the error message even after you tried all troubleshooting solutions, you should try using a different browser instead. Opera is a great alternative.
Not only is it incredibly powerful and lightweight, but it is also extremely stable, receiving updates after updates that are constantly maintained in peak condition.
Opera
A web browser that balances out stability, performance, a high level of customization, and low system requirements.
Why do we need DNS?
Every website on the Internet is assigned an address, which consists of a string of numbers and characters. To simplify things for users, websites are also assigned a domain name. For instance, https://windowsreport.com/, is the domain name and not the IP address.
Now, while people understand the domain name, computers, on the other hand, use the assigned IP address.
This is where the DNS (Domain Name System) server comes into the picture. When you enter the domain name in the address bar of the browser, it locates the corresponding IP address and opens the website. And when the DNS fails, the website won’t open.
What to do if the browser stops working after DNS fail?
1. Clear cookies and cache
- Launch the browser, and press Ctrl + Shift + Del to open the Clear browsing data utility.
- Select All time from the Time range dropdown menu.

- Select the checkboxes for Browsing history, Cookies and other site data, and Cached images and files, and then click on Clear data at the bottom.

Expert tip:
SPONSORED
Some PC issues are hard to tackle, especially when it comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken.
We recommend installing Restoro, a tool that will scan your machine and identify what the fault is.
Click here to download and start repairing.
If the manual method seems like too much of a hassle, you could always opt for a third-party PC cleaner. This type of tool will scan your browser for unnecessary clutter and let you know what can be removed.
Alongside cleaning your browser, dedicated cookie cleaners generally include other PC optimization tools such as registry cleaners and startup editors.
On top of that, some browser cleaners will help you remove unwanted toolbars and plugins, remove spam/useless emails, and more.
We recommend CCleaner from the list of software we tested, which performs thorough cleaning, as one of the best tools for this task.
CCleaner makes it simple to get the most out of your computer because PC maintenance has to be at the top of the priority list. Furthermore, if you can tune up your computer on a regular basis, you’ll be more satisfied with its overall performance.
Once done, check if the DNS lookup failed error on the browser is fixed.
2. Open the Internet Connections Troubleshooter
- Press Windows + I to open the Settings app, and click on Troubleshoot on the right.

- Next, click on Other troubleshooters.

- Locate the Internet Connections option here, and click on the Run button next to it.

- Then go through the suggested resolutions from the troubleshooter.
Once done, check if the DNS lookup still fails intermittently on the browser. If that’s the case, head to the next method.
3. Change the DNS Server
- Press Windows + S to launch the Run command, enter ncpa.cpl in the text field, and click OK.

- Right-click the active connection to select Properties.

- Now, select Internet Protocol Version 4 (TCP/IPv4), and click the Properties button.

- Select the Use the following DNS server addresses radio button, and enter the following DNS server in the two fields:
- Preferred DNS server: 8.8.8.8
- Alternate DNS server: 8.8.4.4

- Click the OK button at the bottom of this and other windows to save the changes.
4. Flush the DNS
- Press Windows + S to open the Search menu, enter Terminal in the text field, right-click on the relevant search result, and select Run as administrator .

- Click Yes in the UAC prompt.

- Press Ctrl + Shift + 2 to open Command Prompt in a new tab.
- Now, paste the following command and hit Enter : ipconfig /flushdns

Flushing the DNS cache is a straightforward potential resolution for the DNS lookup failed error on browsers.
5. Restart the Network Stack
- Press Windows + X to open the Quick Access menu, and select Windows Terminal (Admin).

- Click Yes in the UAC prompt.

- Click on the arrow at the top, and select Command Prompt from the menu.

- Now, paste the following command and hit Enter : netsh winsock reset catalog

- Once done, restart the computer for the changes to come into effect.
Some users might need to restart a corrupted network stack to fix the DNS lookup failed error on the browser.
How do I find my DNS server?
- Press Windows + R to open Run, type ncpa.cpl in the text field, and click OK.

- Now, double-click on the active network adapter.

- Click on Details.

- You will now find the DNS server listed here.

The above resolutions will probably resolve the DNS lookup failed error for most users so that they can open webpages in Chrome and other browsers, whenever the error is encountered
Also, find out what to do when seeing the Your DNS server might be unavailable error message in Windows 10/11.