8
4
I'm experiencing DNS issues on my Win 10 machine which are the following:
- On system start-up, everything works just fine
- After some time, DNS requests start to time-out
- When requests are timed out, the issue either persists for some time and then it starts working again by itself for a brief period of time (after which the issue is cycling again) or it persists till I Disable / Enable my adapter (which fixes it immediately, again for a brief period of time)
More details:
It affects only DNS. Requests like ICMP or direct IP are just fine. If the connection is established and there is no need to request DNS again for it - it works without any issues for any period of time.
During the time when there is a DNS issue, I can observe the following:
C:\Users\almado>nslookup yahoo.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 8.8.8.8
DNS request timed out.
timeout was 2 seconds.
Non-authoritative answer:
Name: yahoo.com
Addresses: 2001:4998:58:c02::a9
2001:4998:c:a06::2:4008
2001:4998:44:204::a7
98.138.253.109
98.139.183.24
206.190.36.45
and for the DNS server itself:
C:\Users\almado>nslookup
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 8.8.8.8
What I've already tried
- Using another DNS server (from snippets above it's obvious I was using Google public DNS at that time). I've tried using ISP-provided DNS both statically and with automatic settings options in the IPv4 of my network adapter
Resetting all caches, releasing the address and renewing the lease. I've also reset the
winsock catalog
, the full listing would be:ipconfig /flushdns ipconfig /registerdns ipconfig /release ipconfig /renew netsh winsock reset catalog netsh int ipv4 reset reset.log netsh int ipv6 reset reset.log
- Disabling smart name resolution / parallel requests. This is as it's described here. Important thing would be that the mentioned keys didn't exist and therefore I've added them
- Disabling DNS Client Service (via
services.msc
). Disabling / enabling IPv6 in the network adapter options. These actions don't change anything. - Adding
gpedit.msc
console to the system manually (I have Home edition which doesn't have it by default) hoping to enable"Turn off smart multi-homed name resolution"
there. But in the"Administrative Templates"
>"Network"
>"DNS Client"
I do not have this option at all and more - all options which I have there have"Not configured"
state. - Restoring default "Internet Settings". It's "Solution 5" from here.
- Using anti-virus software to perform full scanning in case DNS is throttling me as I might have some malware. Nothing was found.
Of course I've rebooted the machine after mentioned modifications. It worth mentioning that the issues started to happen not long ago - same machine was working just fine without troubles and nothing was changed manually - but I believe issues started to occur after latest Windows update (not 100% sure about that).
I've also checked that it's not some firewall-related issues by disabling firewall completely and still observing same issue after some time.
Versions
- System: x64
- OS: Windows 10 Home 1607 / Build 14393.351
ipconfig /all
(here I'm using my ISP LAN router as the DNS server)
Windows IP Configuration
Host Name . . . . . . . . . . . . : Home
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : hitronhub.home
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
Physical Address. . . . . . . . . : F0-79-59-81-96-65
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter Local Area Connection* 3:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
Physical Address. . . . . . . . . : E8-B1-FC-6B-AC-75
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter VPN - VPN Client:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VPN Client Adapter - VPN
Physical Address. . . . . . . . . : 00-AD-D0-34-8B-00
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Wireless LAN adapter WiFi:
Connection-specific DNS Suffix . : hitronhub.home
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-AC 7260
Physical Address. . . . . . . . . : E8-B1-FC-6B-AC-74
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.10(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Wednesday, November 9, 2016 7:40:10 PM
Lease Expires . . . . . . . . . . : Wednesday, November 16, 2016 7:40:09 PM
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
NetBIOS over Tcpip. . . . . . . . : Enabled
You are obviously using Google's public DNS server, so have you already tried utilizing a different source for DNS resolution to see if the problem persists? – Run5k – 2016-11-06T23:33:20.060
Yes, I've tried ISP-provided DNS both statically and with automatic settings resolution (in the adapter settings for IPv4). – Alma Do – 2016-11-06T23:34:28.350
I assumed that you had probably already done that. It may be a good idea to edit your question and add that information to your section titled What I've already tried. – Run5k – 2016-11-06T23:51:39.203
Indeed. I've also thought it was an obvious thing. – Alma Do – 2016-11-06T23:56:38.813
Google's DNS will throttle you for too many queries over time. Check for malware. – Tyson – 2016-11-07T01:09:10.177
Done. Nothing was found – Alma Do – 2016-11-07T13:20:28.583
Does my answer here help?
– harrymc – 2016-11-09T18:25:58.637@harrymc as it follows from the "What I've already tried" section - it doesn't (this was the third thing I've tried after googling a bit) – Alma Do – 2016-11-09T18:34:52.400
Oups, this was my answer. OK, second try : this answer of mine - does disabling the DNS Client service help? Or disabling and re-enabling? Try also to disable IPv6 on the adapter. Afterward also post
– harrymc – 2016-11-09T18:48:14.930ipconfig /all
.As it follows from the second attempt of what I have tried - yes, I tried resetting winsock or dns settings. Although I didn't try stopping DNS Client service. The
ipconfig
added. IPv6 was never enabled (and I've tried to enable or disable that too as well) – Alma Do – 2016-11-09T19:06:54.750It wouldn't hurt to try stopping the DNS Client service (just to see if this is a problem I'm familiar with). Is this a home network or domain? I also see this is a wireless connection. – harrymc – 2016-11-09T19:09:37.620
I've tried stopping DNS client, but still experiencing the issue – Alma Do – 2016-11-09T19:17:38.597
More obvious stuff: (1) Stopping the antivirus, (2) updating wireless card driver or uninstall and reboot to use Microsoft's driver, (3) Settings > Network & Internet > Status > Network reset. – harrymc – 2016-11-09T19:21:47.717
Another obvious thing to check is available bandwidth download AND upload, on your local pc and on your internet connection, and any other slow points in between like a bad cable causing an ethernet link to fall back to 10mbps.. When it starts happening check your local bandwidth usage in task manager and turn off all other network devices in the house. Plus check all switches/routers that they indicate they are running fast enough. Also try rebooting your modem and router as they can become burdened with memory fragmentation and/or leaks. – BeowulfNode42 – 2016-11-09T19:37:28.047
@harrymc it looks like combination of disabling DNS Client Service + Resetting the Network to it's default configuration worked. "Combination" because: tried only Disabling Service - didn't help (and I enabled it back). Tried resetting network settings - didn't work. After resetting I tried to disable the DNS Client Service again just without thought it will work - and it looks like it does work. Usually I have cycle within ~15..30 minutes, now it's couple of hours without an issue. If it will work further - I'll keep you updated so you could collect the bounty – Alma Do – 2016-11-09T22:04:04.550
@AlmaDo since you did all options there, I would suggest you use Tweaking.com Repair Tool, it might fix your issue without additional effort.. http://www.tweaking.com/content/page/windows_repair_all_in_one.html
– iSR5 – 2016-11-09T22:22:33.383It's quite possible that the problem was caused by some bad data related to the DNS Client service that could not be totally cleaned up while the service was still running. If I understand correctly, the order was : (1) Network reset, (2) Disable and re-enable the service. I hope your computer is not one where these actions need to be done repeatedly. – harrymc – 2016-11-10T07:24:31.960
@harrymc so, it works. The necessity was : Disable DNS Client + Network Reset. Even if that will long not as a permanent solution (let's say, after some weeks it will appear again so I need to repeat the thing) - it's still far better than reset the adapter every 15 minutes. – Alma Do – 2016-11-10T13:48:16.683
I have added an answer below summarizing the procedure. Feel free to suggest changes in it. – harrymc – 2016-11-10T14:28:16.790
HI, I have came across this. Finally I found that it was caused by Macfee ! Some safe software with firewall may turn on its firewall to block port 53 for DNS. – Wayne Yang – 2017-10-13T05:05:27.307
Checking the DNS protocol port availability was the first thing which I did at the time. Plus I didn't have mentioned software installed – Alma Do – 2017-10-18T13:46:01.983