Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: DNS server stops responding almost every night

18 Jun 2015   #1
Shub Niggurath

Windows 7 Ultimate 64-bit
 
 
DNS server stops responding almost every night

Almost every night my DNS server goes out sometimes for a few minutes to a full 8 or so hours, when I try to troubleshoot my connect it says "The DNS server has stopped responding" without any solutions. I always try to type in cmd "ipconfig /flushdns" but this rarely works, I continuously try to restart the router and even take out all individual Ethernet cables to stop it but alas to no outcome. This started happening a few months after I got my broadband, it hasn't stopped since.

It doesn't seem to hold any relevance to what I browse when it cuts out either, I checked into that and it happens regardless of what I'm doing. I've also tried custom DNS servers such as Google, but it goes out even when I set them myself.

EDIT: here's my IP config:

Code:
Windows IP Configuration

   Host Name . . . . . . . . . . . . : Chris
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller #2
   Physical Address. . . . . . . . . : 74-D4-35-61-AB-D8
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a840:c3a2:bba5:6f1d%13(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Friday, 19 June 2015 12:15:36 AM
   Lease Expires . . . . . . . . . . : Saturday, 20 June 2015 12:15:36 AM
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCP Server . . . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 359978037
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1A-AA-E6-C9-BC-5F-F4-FB-54-FF

   DNS Servers . . . . . . . . . . . : 192.168.1.1
                                       0.0.0.0
   NetBIOS over Tcpip. . . . . . . . : Enabled



My System SpecsSystem Spec
.
18 Jun 2015   #2
GokAy

Windows 7 Ultimate x64 SP1
 
 

Do you have 2nd DNS IP set as 0.0.0.0 in router DHCP? Is it possible to delete that if so?
My System SpecsSystem Spec
30 Jun 2015   #3
Shub Niggurath

Windows 7 Ultimate 64-bit
 
 

Yes and to both.
My System SpecsSystem Spec
.

30 Jun 2015   #4
GokAy

Windows 7 Ultimate x64 SP1
 
 

Do you have a phone or another PC in house that you can test when DNS goes out?

Try run in cmd: netsh winsock reset
My System SpecsSystem Spec
30 Jun 2015   #5
Champion

Windows 7 Ultimate x64
 
 

Set your system a static IP address, and change the DNS addresses to:

Default: 8.8.8.8
Alternate: 8.8.4.4
My System SpecsSystem Spec
02 Jul 2015   #6
Shub Niggurath

Windows 7 Ultimate 64-bit
 
 

Quote   Quote: Originally Posted by GokAy View Post
Do you have a phone or another PC in house that you can test when DNS goes out?

Try run in cmd: netsh winsock reset
3 PCs and one phone to try them on, all of them are affected. I will try that command the next time it goes out.
Quote   Quote: Originally Posted by aakkam View Post
Set your system a static IP address, and change the DNS addresses to:

Default: 8.8.8.8
Alternate: 8.8.4.4

Let us know if this helps
Yeah I've already tried Google's DNS both in network settings and in the very router itself, it doesn't change a thing.
My System SpecsSystem Spec
02 Jul 2015   #7
GokAy

Windows 7 Ultimate x64 SP1
 
 

If this has been affecting all devices then either your router, modem (can be one combined device) or your ISP. So don't bother running the command I gave earlier.

Try factory resetting router/modem (both if different devices), check manual on how to do it.

Then go to https://zenmate.com/signup/ with firefox or chrome (or any browser supported, IE doesn't work) and install the add-on. It is real easy to install and get it working (1-click stuff) and no need to register.

Now, I am not sure if you can connect to zenmate while experiencing the issue, so open that browser, connect to VPN. Continue using another browser or another PC. Check back with zenmate browser when dns starts to act up again.

Report back, Next would be to contact ISP.
My System SpecsSystem Spec
02 Jul 2015   #8
UsernameIssues

W7 Pro SP1 64bit
 
 

As GokAy stated, the issue would seem to be at the router/modem or ISP level. Do you have a neighbor that uses the same ISP? If so, ask them if they lose DNS.

I'm going to suggest using Ping to gather some info for us.

On any Windows computer on your network, temporarily disable the Windows service named DNS Client.

Without that service running, apps should ask the DNS provider to resolve text based addresses each time you attempt to access the address. i.e. each time that you start to ping google.com, the ping app should ask the DNS provider what the IP address is for google.com.

Make a batch file that pings google.com:
...make a new text file
...if need be, make the TXT file extension show
File Extensions - Hide or Show
...copy/paste/save the code below into that TXT file
...change the file extension to BAT.
Code:
title: Ping Google
cd\
:start
ping -4 google.com
timeout 5
goto start
You can start that batch file and leave it running.
It will repeatedly ask DNS to resolve google.com.

When some device on your network indicates that DNS has stopped working, check the command prompt window to see if ping is unable to resolve google.com.
DNS server stops responding almost every night-ping-fail.png

Make another batch file that pings an IP address.
Code:
title: Ping IP
cd\
:start
ping -4 8.8.8.8
timeout 5
goto start
That ping loop does not depend on DNS and it should tell you if you have lost all connectivity to the Internet.


My System SpecsSystem Spec
02 Jul 2015   #9
GokAy

Windows 7 Ultimate x64 SP1
 
 

UsernameIssues, how is your batch different then running ping with -t switch? Not home so can't test.

Ping -t google.com

And timeout is seconds?
My System SpecsSystem Spec
02 Jul 2015   #10
UsernameIssues

W7 Pro SP1 64bit
 
 

DNS resolution only happens when you start the ping app.

If I started ping google.com -t at 1pm and let it run all night, it would never tell me if/when DNS failed. Once a given Ping process knows the IP address for google.com, it reuses that IP address for each subsequent ping. I have to let Ping end = then start a new Ping process to cause a new DNS query.

DNS server stops responding almost every night-ping-loop.png

For the batch file that pings 8.8.8.8, I did not need a loop. It could have been just ping 8.8.8.8 -t.


Yes - the timeout (delay) is in seconds.

edit:
Fortunately, Ping tolerates my habit of putting most of my switches on the end of the command line.

I usually use this:
ping -4 google.com -t -w 1
or on slow networks, this:
ping -4 google.com -t -w 7000
The 1 millisecond timeout will default to a minimum of 1000.
I see no reason to type out 1000 :-)


My System SpecsSystem Spec
Reply

 DNS server stops responding almost every night




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Ethernet connection to internet stops every night between 8pm & 1am
I have a strange problem that has me stumped, over the last month my ethernet connection to the internet drops every night between 8pm and 1pm, it either stops completely or works for a few seconds and then disconnects or I get a connection so slow that it's unusable. Other devices connected...
Network & Sharing
Outlook 2010 stops and says it needs to reboot or stops responding
I have been dealing with this issue for months and had to put it aside because of the flu and then some urgent hardware problems. I'm running Outlook 2010 with about 5 separate POP 3 accounts. I archive regularly and compact after archiving. After a lot of trouble cloning a new C drive to an...
Browsers & Mail
PC stops responding, no BSOD
Hi, My PC has recently stopped responding completely at times. Even Ctrl Alt Del doesn't bring up the usual menu, and I have to use the power button to reboot. There is no BSOD, but windows prompts me to choose between normal boot and safe mode when I reboot. The issue arises regardless of what...
BSOD Help and Support
IE stops responding - Help
I am using Internet Explorer. My OS is Windows 7 Prof. IE constantly stops responding resulting in me having to close the program down. This has been going on for quite awhile and I'm now very annoyed by it especially since I work on my pc. When I have to close IE down, I lose anything on the...
Browsers & Mail
WMC stops responding
I installed Windows 7 two days ago. I have a Hauppaugge 950Q USB tuner stick with up to date drivers. When I start media center, it immediately stops and reports that it is "not responding". Fortunately, I still have a license to BeyondTV and it works, although it resets the color scheme to...
Media Center
MS FSX installer stops responding
Hi worldwide Fellas... I've tried to install FSX but the installer checks the system to start the installation and stops due to a *.temp file not responding and W7 offers 'search in the web for the solution' (no solution found) and 'close the program'... and installer quits....
Gaming


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:32.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App