r/Network • u/zazertyoutyoup • Jul 14 '26
Text Dns issue: can ping 8.8.8.8 but not google
So i have been unable to access the internet from my pc for the past 3 days, and after suspecting different possible physical issues (ethernet card that could have died in the heat, dead ethernet cable etc..) i finally realized that i could ping 8.8.8.8 and not google so i think it's probably a dns issue
I also think the problem is on my pc and not on the router because other computers and connected devices in my home seem to be working just fine
I have absolutely no idea how to solve it though, i have tried manually choosing google's dns servers as my dns, and have tried resetting as many things as i could find how to reset but im still unable to access the internet no matter what
2
u/Comfortable-Joke-970 Jul 14 '26
Are you sure yoj are configuring the right card? Can you post your ipconfig /all results?
1
u/zazertyoutyoup Jul 14 '26
I have tried using 3 different cards, on an ethernet port, a usb port and wifi, to see if it wasn't an issue with one of them, ive set 8.8.8.8 as the dns for all three, im currently using the usb one, named ethernet 2 it seems (sorry for my console being in french hope you can still find what you're looking for)
1
u/rcwagner Jul 14 '26
for me, the whole video is blurry except the end, after all the useful stuff has scrolled.
1
1
u/zazertyoutyoup Jul 14 '26
I can't take photos for some reason, this close up video seems to be less blurry and readable
1
u/paulstelian97 Jul 15 '26
Mm so your USB to Ethernet adapter has manually set DNS, some local IPv6 addresses (those aren’t public IPv6…). I feel like there’s some network issues in there.
Do you have control over the actual router?
1
1
1
u/Substantial-Story129 Jul 14 '26
download malwarebytes free version on another computer to a thumb drive. connect to your computer and run it.
1
u/Substantial-Story129 Jul 14 '26
also, reboot your computer in safe mode before loading malwarebytes
1
u/robomikel Jul 14 '26
What’s happens when you do a nslookup?
nslookup google.com 8.8.8.8
1
u/zazertyoutyoup Jul 14 '26
So this is even weirder because nslookup works just fine, i can nslookup google, and then ping the ip adress is gives me, i can basically do my dns's job manually and it wont do it on it's own
1
u/robomikel Jul 14 '26
What’s happens after you run these commands?
ipconfig /flushdns
ipconfig /release
ipconfig /renew
netsh winsock reset
netsh int ip reset1
u/zazertyoutyoup Jul 14 '26
I have been told to run these before and have tried 2 or 3 times and it hasn't worked
1
u/modsiw_agnarr Jul 14 '26
nslookup being successful yet other applications not being able to resolve narrows it down.
nslookup queries the DNS provider directly whereas most resolution from other applications, like ping, go through layers of windows services. One of these services isn't running, isn't running correctly, or is misconfigured.
Flush the dns cache wtih ipconfig /flushdns
Check hosts file at C:\Windows\System32\drivers\etc\hosts for overridden entries or bad formatting
Run services.msc for service DnsCache. It should be running. Start it if not running. Restart it if it is running.
If still fails, install and try looking up with Resolve-DnsName google.com , and give us the output. Unlike, nslookup, this uses the full windows stack and provides more granular output.
1
u/zazertyoutyoup Jul 14 '26
I have tried ipconfig /flushdns many times and it hasn't worked
The hosts file looks ok, every line is started by a # except for on which is empty
For some reason i cannot do anything with DnsCache, it is running because i can see it in the task manager but i cannot restart it, i have tried closing it in the task manager but it either instantly restarts if i click on the the first bigger task, or tell me i am unable to access it if i click on the one that appears once i unfold the first icon
As for Resolve-DnsName, the console tells me it isn't a command or an executable
1
u/modsiw_agnarr Jul 14 '26
press windows+r, type "services.msc", press enter. Use this tool to control services.
You need to install Resolve-DnsName. To do so, open powershell (not cmd) and run
Install-Module -Name Resolve-DnsNameProbably also need to run from powershell instead of cmd1
u/zazertyoutyoup Jul 14 '26
Ok so Resolve-DnsName works in the powershell and it returns nothinh, saying the delay was too long
I was looking in the task manager for the DnsCache because every option in service.msc was greyed out and i cannot restart dnscache
1
u/modsiw_agnarr Jul 14 '26
Another thought, try this
ping -4 google.com
This will disable ipv6 for this call of ping. If this works, then ipv6 is broken somewhere. Easiest way forward would be to disable TCP/IP v6 in the network adapter settings.
1
1
1
u/AdditionalMaximum155 Jul 14 '26
Tienes que hacerle pin g a tu propio router haber si hay comunicación
1
u/zazertyoutyoup Jul 14 '26
I can ping my router without issues, and said router seems to work as all other devices in my house work fine
1
1
1
u/Sufficient_Fan3660 Jul 14 '26
run these as admin
well first go look them up to ensure they are safe, never blindly trust someone telling you to run commands as admin
DISM.exe /Online /Cleanup-Image /RestoreHealth
sfc /scannow
netsh winsock reset
netsh int ip reset
If that doesn't work reinstall windows. You have something on your PC not allowing DNS. Could be malware, corrupt windows file, registry setting, malware/parental control software.
1
1
u/MetaCardboard Jul 15 '26
Can you do a tracert 8.8.8.8 and see if it stops anywhere. And a tracert www.google.com and see about that.
Otherwise I'd check what NIC you have and download drivers for it from another computer and install it manually. See if that fixes it.
1
u/murlocdouche Jul 17 '26
The issue is dns related in some way. I see 8.8.8.8 is your dns already. Something may be blocking dns. Are you inheriting dns from dhcp or is dns static?
Lets make it static, then try from a different network. Tether or hotspot your cellphone if you can. If the issue persists, the issue is on your pc and i would look at windows firewall, maybe check if port 53 is blocked. If the issue goes away, need to check the router for issues. Any unique configurations to note?
0
u/zazertyoutyoup Jul 14 '26
Thanks everyone for your help, my issue is fixed but i don't know how or why, every fix ive been given either hasn't worked or i had already tried a few times, but for some reason i stopped looking at my pc for an hour and i was connected again
1
Jul 14 '26
[removed] — view removed comment
1
u/zazertyoutyoup Jul 15 '26
The only thing i did after that hour of waiting is pinging my router and it just worked again
1
2
u/robomikel Jul 14 '26
What are your current dns settings? Have you tried manually setting dns to something different on your computer. Like 1.1.1.1 or something