How to Diagnose DNS_PROBE_FINISHED_BAD_CONFIG on Windows
The DNS_PROBE_FINISHED_BAD_CONFIG error can appear when a browser cannot complete a DNS-related lookup. Although the message suggests a DNS configuration problem, it does not identify the exact cause. The issue may involve the Windows network adapter, configured DNS resolver, router, VPN, proxy, or the affected domain.
Changing DNS settings immediately is not always the best solution. A better approach is to collect network information, test name resolution, compare results, and make changes only after identifying where the lookup process is failing.
Understanding DNS_PROBE_FINISHED_BAD_CONFIG
DNS stands for Domain Name System. It translates domain names, such as example.com, into IP addresses that computers use to communicate with servers.
When you enter a website address, your device needs to obtain the corresponding IP address through a DNS resolver. If the lookup cannot be completed, the browser may display a DNS-related error.
The error message alone does not establish whether the problem originates on your computer, local network, internet provider, DNS resolver, or the website's DNS infrastructure.
Why identifying the failure point matters
Consider two situations:
- If several websites fail on one computer but work on other devices, investigate the affected computer first.
- If several devices on the same network experience the problem, investigate the router, network configuration, and DNS service.
These comparisons help prevent unnecessary changes to otherwise correctly configured network settings.
The Diagnostic Workflow
Follow this sequence before attempting more disruptive fixes. Each stage provides information that helps narrow down the cause.
- Check whether other websites load.
- Compare the affected device with another device.
- Inspect the Windows network configuration.
- Identify the configured DNS server.
- Test the affected domain using nslookup.
- Compare DNS resolution results where appropriate.
- Review VPN, proxy, and browser DNS settings.
- Apply the correction supported by the test results.
1. Check Network Connectivity First
Start by checking whether your computer has an active internet connection. DNS troubleshooting is less useful if the underlying network connection is unavailable.
- Confirm that Wi-Fi or Ethernet is connected.
- Open two or three unrelated websites.
- Check whether another device on the same network works.
- Try the affected website using another trusted network.
Interpret the results
- If no websites load, investigate general internet connectivity.
- If other websites work but one domain fails, investigate domain-specific DNS resolution.
- If another device works on the same network, investigate the affected computer.
- If all devices fail on the same network, investigate shared network equipment or DNS services.
2. Inspect Windows DNS Configuration
Windows can obtain DNS server addresses automatically through DHCP or use manually configured addresses. An incorrect manual entry or unavailable resolver can interfere with domain lookups.
Step 1: Open Command Prompt
- Open the Windows Start menu.
- Search for Command Prompt.
- Open the application.
Step 2: Display network configuration
Run:
ipconfig /all
Windows displays information about available network adapters. Locate the adapter currently being used for your internet connection.
Review these fields:
- IPv4 Address: The assigned IPv4 address.
- Default Gateway: The network gateway.
- DHCP Enabled: Whether DHCP is enabled.
- DNS Servers: The configured DNS resolver addresses.
- Connection-specific DNS Suffix: The DNS suffix associated with the connection, when present.
Step 3: Identify possible configuration problems
Check whether the adapter has an expected IP address, gateway, and DNS server configuration.
If the DNS server address is manually configured, compare it with the settings supplied by your network administrator, internet provider, or DNS service.
Do not change an address simply because it looks unfamiliar. Managed networks and private networks may use their own resolver addresses.
3. Clear the Windows DNS Cache
Windows stores recently resolved DNS information in a local cache. Clearing that cache can help when outdated or incorrect cached information contributes to a lookup problem.
How to flush the DNS cache
- Open Command Prompt.
- Run the following command:
ipconfig /flushdns
Windows should display a confirmation message indicating that the DNS Resolver Cache was successfully flushed.
Close and reopen your browser, then test the affected domain again.
4. Test DNS Resolution with NSLOOKUP
The nslookup utility provides a useful way to test whether a DNS resolver can resolve a domain name.
Test the affected domain
Run the following command:
nslookup example.com
Replace example.com with the actual domain that is failing.
Review the output for the DNS server being queried and any returned address records or error messages.
Compare the result with another DNS resolver
If you know the IP address of another authorized DNS resolver, you can query it directly:
nslookup example.com DNS_SERVER_IP
Replace DNS_SERVER_IP with the actual resolver IP address. Use a resolver approved for your network or an appropriate publicly available DNS service.
Why compare resolver results?
Comparing results can help identify whether the configured resolver is responding differently from another resolver. However, differences may also result from caching, DNS filtering, split-horizon DNS, or propagation timing.
A successful query does not necessarily prove that every DNS-related component is functioning correctly. Browser Secure DNS, VPN software, and other network policies may use different resolution paths.
5. Check DHCP and IP Configuration
DHCP allows a network to assign IP configuration information automatically. If a device has an outdated or incorrect lease, renewing the configuration may help.
Step 1: Review the current configuration
ipconfig /all
Check whether DHCP is enabled for the active network adapter and review its current IP address and gateway.
Step 2: Renew the configuration
On a network using DHCP, open Command Prompt and run:
ipconfig /release
ipconfig /renew
The network connection may be interrupted temporarily while Windows releases and requests its IP configuration.
After the renewal completes, test the website again.
6. Investigate VPN and Proxy Settings
VPN and proxy software can affect how network traffic and DNS requests are routed. Some services use their own DNS resolvers or enforce network policies.
Check whether the problem started after a change
- Did you recently install or update VPN software?
- Did you connect to a different VPN location?
- Did you change Windows proxy settings?
- Did the error begin after joining a workplace network?
Review the configuration and documentation of the software involved.
If you are permitted to test without a VPN or proxy, follow the provider's instructions and restore the original configuration after testing.
Never disable required security controls or organizational network protections merely to test a website.
7. Check Browser Secure DNS Settings
Modern browsers may support Secure DNS, commonly implemented using DNS over HTTPS (DoH). This can allow the browser to resolve domain names through a selected resolver rather than relying exclusively on the operating system's configured DNS.
What to investigate
- Whether Secure DNS is enabled.
- Which resolver the browser is configured to use.
- Whether the selected resolver is available.
- Whether a VPN or organizational policy affects DNS requests.
In Chrome, open:
chrome://settings/security
Find the Use secure DNS setting and review its current configuration.
Do not change the setting without understanding your network requirements. If you test an alternative configuration, record the original value and restore it if necessary.
8. What Website Owners Should Check
If visitors report DNS_PROBE_FINISHED_BAD_CONFIG when accessing your website, investigate the domain itself rather than assuming that every visitor has a local computer problem.
Verify domain registration
Confirm that the domain registration is active and that the domain has not expired or entered a restricted status.
Check authoritative nameservers
Confirm that the domain is delegated to the intended authoritative nameservers.
Unexpected nameserver changes can cause a domain to use the wrong DNS zone.
Review DNS records
Check the relevant records:
- A: Maps a hostname to an IPv4 address.
- AAAA: Maps a hostname to an IPv6 address.
- CNAME: Creates an alias to another hostname.
- MX: Identifies mail servers for a domain.
Verify that the records point to the intended services and that no recent DNS changes introduced incorrect values.
Check recent DNS changes
If the problem began after moving hosting providers, changing nameservers, or updating DNS records, compare the current configuration with the intended configuration.
Remember that DNS changes may take time to become visible across different resolvers because of caching and TTL values.
9. Understand the Diagnostic Results
Use the results of your tests to decide which component needs further investigation.
| Test result | Possible area to investigate |
|---|---|
| All websites fail on one computer. | Device network configuration, connectivity, or DNS settings. |
| Several devices fail on the same network. | Router, shared DNS resolver, or internet connection. |
| One domain fails across multiple networks. | Domain records or authoritative DNS service. |
| One resolver fails but another succeeds. | Resolver availability, filtering, or configuration differences. |
| DNS resolution succeeds but the website does not load. | HTTP connectivity, hosting, TLS, or application problems. |
| The issue occurs only with a VPN connected. | VPN routing or DNS configuration. |
These results are diagnostic clues rather than definitive proof. Additional testing may be necessary before changing network or DNS settings.
10. How to Prevent Recurring DNS Problems
- Keep Windows and your browser updated.
- Document important DNS and network configuration changes.
- Use DNS settings appropriate for your network.
- Review VPN and proxy configuration when connectivity changes.
- Keep router firmware updated according to the manufacturer's guidance.
- Monitor domain registration and DNS configuration if you manage a website.
- Keep a record of existing DNS records before modifying them.
- Investigate recurring errors rather than repeatedly applying temporary fixes.
Frequently Asked Questions
1. What does DNS_PROBE_FINISHED_BAD_CONFIG mean?
It is a browser error associated with DNS-related lookup or network configuration problems. The message does not identify one specific cause.
2. Does flushing DNS always fix this error?
No. Flushing DNS clears the local Windows DNS cache. It may help with cached information but cannot repair an unavailable DNS resolver or incorrect domain records.
3. How can I identify my current DNS server?
Run ipconfig /all in Command Prompt and
inspect the DNS Servers field for the active network adapter.
4. Can a router cause DNS_PROBE_FINISHED_BAD_CONFIG?
Yes. Router connectivity, DHCP, or DNS forwarding problems can affect devices using the same network.
5. Why does one website fail while others work?
The affected domain may have DNS record problems, an authoritative DNS issue, or a resolver-specific lookup problem.
6. Can a VPN affect DNS resolution?
Yes. VPN software may change DNS server selection or routing. Review its configuration and documentation.
7. Should I manually change my DNS server?
Only after checking the existing configuration and understanding your network requirements. Record the original values before making any changes.
8. What if DNS resolution succeeds but the website still fails?
Investigate the next stages of the connection, including network routing, HTTPS, hosting availability, and the website application.
9. When should I contact my internet provider?
Contact your internet provider when multiple devices experience connectivity or DNS problems that appear related to the shared internet connection.
10. When should a website owner contact a DNS provider?
Contact the DNS provider when the domain fails to resolve across different networks or when its authoritative DNS configuration appears incorrect.
Final Thoughts
DNS_PROBE_FINISHED_BAD_CONFIG should be investigated through a structured diagnostic process rather than by changing network settings randomly.
Begin by checking connectivity and comparing affected devices. Inspect the Windows network configuration, identify the configured DNS resolver, and use nslookup to test domain resolution.
If the evidence points to a local configuration problem, make the appropriate correction and test again. If several devices or networks are affected, investigate the shared network or domain DNS infrastructure.
Careful diagnosis helps identify the actual problem and reduces unnecessary changes to otherwise working systems.