Unable to resolve DNS manually

Abstract: Resolve manual DNS failures by verifying network adapter settings, flushing the local cache, and testing connectivity with nslookup.

Created: 2026-09-14 by

Manually resolving DNS failures typically stem from misconfigured resolver settings, local cache corruption, or network-level blocking. Verify your primary and secondary DNS server addresses in the operating system’s network adapter properties, flush the local DNS cache to remove stale records, and test connectivity using command-line tools like nslookup or dig to isolate whether the issue lies with the client configuration or the upstream authoritative servers.

Verifying Network Adapter Configuration

The most common cause of manual DNS resolution failure is an incorrect or missing entry in the network interface settings. When a computer attempts to resolve a domain name, it queries the IP address specified in these fields. If these addresses are blank, set to a non-functional server, or point to a router that does not forward requests correctly, resolution will fail immediately. On Windows systems, you can check this by opening the Network Connections panel. Navigate to the active network adapter, right-click it, and select Properties. Locate the Internet Protocol Version 4 (TCP/IPv4) or IPv6 entry and click Properties again. Ensure that "Obtain DNS server address automatically" is selected if you are using a standard ISP connection, or manually enter valid public DNS servers such as Google's 8.8.8.8 or Cloudflare's 1.1.1.1 if static configuration is required. For Linux users, check the /etc/resolv.conf file or use nmcli to verify the configured nameservers. Incorrect entries here prevent the operating system from even initiating a query. If you are managing a corporate environment, ensure that the DNS servers provided by IT match the internal infrastructure. Mismatched servers can lead to timeouts or refusal errors. It is also crucial to check that both primary and secondary DNS entries are reachable. A single point of failure in DNS configuration can halt all internet-dependent applications. Refer to Understanding Dynamic Name System Architecture: A Comprehensive Guide for deeper insights into how modern networks handle name resolution dynamics.

Flushing Local DNS Cache

Operating systems store recent DNS lookups in a local cache to speed up subsequent requests. However, this cache can become corrupted or retain outdated information, especially after network changes or server migrations. When the cache holds an invalid record, the system may attempt to connect to a non-existent IP address, resulting in resolution failures even if the network configuration is correct. Clearing this cache forces the system to perform fresh queries against the DNS servers. On Windows, open Command Prompt as an administrator and execute the command ipconfig /flushdns. You should receive a confirmation message stating that the DNS Resolver Cache was successfully flushed. On macOS, the process varies by version. For newer versions using mDNSResponder, use sudo killall -HUP mDNSResponder. In older versions, dscacheutil -flushcache may be required. Linux distributions often use systemd-resolved, where the command systemd-resolve --flush-caches clears the data. After flushing the cache, attempt to resolve a domain again. If the problem persists, the issue likely lies beyond the local machine. Corrupted caches rarely cause persistent issues unless there is a broader network instability or malware interference. Always restart the browser or application attempting the connection after flushing the cache to ensure it picks up the new resolution path.

Diagnostics with nslookup and dig

When basic configuration checks pass, advanced diagnostic tools help pinpoint where the resolution chain breaks. The nslookup utility is available on Windows, macOS, and Linux. By running nslookup example.com, you can see which DNS server is being queried and what response it returns. If the server is unreachable, you will see a timeout error. If the server responds but says the domain does not exist, the issue is with the authoritative data. For more detailed analysis, use dig on Linux and macOS. This tool provides verbose output including query time, authority answers, and additional records. Running dig @8.8.8.8 example.com forces the query to go directly to Google’s DNS, bypassing any local intermediary. This helps determine if your default ISP DNS is filtering or failing to resolve specific domains. Compare this result with a query to your local DNS server. Significant differences indicate a problem with the local resolver or network policy. These tools also reveal latency issues. High query times suggest network congestion or distant servers. If dig shows successful resolution but your browser fails, the problem may be application-specific rather than network-wide. Understanding these nuances is critical for effective troubleshooting. For cases involving complex delegation issues, consult Understanding 'No Reachable Authority' Delegation in DNS to understand how hierarchical failures impact resolution.

Checking Firewall and Security Software

Firewalls and security suites often block DNS traffic, which operates over UDP port 53 and TCP port 53 for larger responses. Some enterprise firewalls restrict DNS to specific internal servers only. If your manual resolution attempts are blocked at the network level, no amount of local cache clearing will help. Check your firewall logs for dropped packets on port 53. Antivirus software sometimes includes web protection features that interfere with DNS resolution. These tools may redirect queries to their own servers for scanning. Temporarily disabling such features can confirm if they are the culprit. Additionally, check for any proxy settings in the browser or system network configuration that might be intercepting DNS traffic incorrectly. Misconfigured proxies can return generic errors that mimic DNS failures. Ensure that outbound rules allow traffic to port 53. In some restricted environments, only encrypted DNS over TLS (DoT) or HTTPS (DoH) is permitted. Standard UDP queries may be blocked. Switching your client to use DoH can bypass these restrictions if supported by your OS and browser. This adds a layer of privacy and reliability to your name resolution process.

Frequently Asked Questions

Why does my computer resolve some sites but not others?

This usually indicates that the DNS server is functioning but lacks specific records or is experiencing selective filtering. It could also mean that certain domains are blocked by parental controls or corporate policies. Check if the failed domains share a common suffix or provider.

Can malware cause DNS resolution failures?

Yes, malware can modify your hosts file or change DNS settings to redirect traffic to malicious servers. Scan your system with reputable antivirus software and verify that your hosts file contains no unexpected entries. Resetting network adapters to default settings can also remove persistent malware configurations.

What is the difference between nslookup and dig?

nslookup is a simpler tool available on most platforms, providing basic query results. dig offers detailed technical information about the DNS transaction, including flags and multiple answer sections. Use dig when you need to troubleshoot complex DNS propagation or record types.

How do I switch to DNS over HTTPS (DoH)?

In Windows, go to Settings > Network & Internet > Ethernet or Wi-Fi, and enable "Use secure DNS." Select a provider like Cloudflare or Google. On Chrome, navigate to Settings > Privacy and security > Security, and turn on Secure DNS. This encrypts DNS queries, preventing interception.

Why does flushing the DNS cache not fix the issue?

If flushing the cache does not help, the problem likely resides in the network configuration, firewall rules, or upstream server availability. The cache only stores resolved IPs; it cannot fix connectivity issues or incorrect server addresses. Proceed to verify your adapter settings and test with external DNS servers.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More