Websites do not load but the IP address pings — DNS resolution failure
The network path is fine — name resolution is not. Everything that uses a name fails while everything that uses an address works.
What you see
ping 1.1.1.1 works, ping bbc.co.uk does not. Browsers show DNS_PROBE_FINISHED_NXDOMAIN or "can't find the server". Outlook and Teams fail at the same time, which makes it look like an internet outage.
What is actually wrong
The machine is pointed at a DNS server that is gone, unreachable or answering wrongly — often a domain controller's address left on a laptop that has been taken home, a stale entry in the local cache, or a hosts file edit somebody forgot about.
Codes and articles
Fixes (2)
Clear the resolver cache and the poisoned entries in it
Resolution works for some names and not others, or a name resolves to an address that was correct last week.
Look at what is actually cached before clearing it — this often names the culprit.
Get-DnsClientCache | Where-Object Entry -notlike '*.local' | Select-Object -First 30 Entry,Data,TimeToLiveCheck the hosts file. An entry here beats DNS entirely and survives every cache flush.
Get-Content $env:WINDIR\System32\drivers\etc\hosts | Where-Object { $_ -notmatch '^\s*#' -and $_.Trim() }Old testing entries and adware both live here, and nothing in the network stack will tell you they exist.
Flush and re-register.
Clear-DnsClientCacheipconfig /registerdns
Ask the configured server directly, then ask a public one, and compare.
Resolve-DnsName jbtecwiz.comResolve-DnsName jbtecwiz.com -Server 1.1.1.1
Resolve-DnsName outlook.office365.com | Select-Object -First 3 Name,Type,IPAddressPoint the machine at DNS servers it can actually reach
The configured servers do not answer at all — most often a domain laptop off the corporate network.
See what is set and where it came from.
Get-DnsClientServerAddress -AddressFamily IPv4 | Format-Table InterfaceAlias,ServerAddressesTest each configured server before changing anything.
Test-NetConnection 10.0.0.10 -Port 53 -InformationLevel DetailedIf they came from a static entry that no longer applies, hand DNS back to DHCP.
Set-DnsClientServerAddress -InterfaceAlias 'Wi-Fi' -ResetServerAddressesResetting is better than typing in a public resolver on a domain machine — a domain member that cannot resolve its own internal names loses Group Policy, shares and printers, which is a worse fault than the one being fixed.
On a non-domain machine with no working local resolver, set a public one deliberately.
Set-DnsClientServerAddress -InterfaceAlias 'Wi-Fi' -ServerAddresses 1.1.1.1,8.8.8.8
Resolve-DnsName $env:USERDNSDOMAIN -Type SOARelated faults
Where this stops. This write-up was written and checked by hand. It says what each step changes, how to confirm it worked and how to reverse it, and anything destructive is flagged before you reach it. If it does not match what your machine is doing, search the Support Centre for the exact code or message — and when something needs a person, get in touch.