Persistent issue: Dns not responding

Cruptic

Honorable
Jan 16, 2014
5
0
10,510
Hello,

At last I've decided to try and get help with an issue I have. My computer is connected with an ethernet cable to my router, which is connected through the wall to another router. That router is connected to the modem.

Now, the issue is that at seemingly random times but also regulary, my pc cannot connect to the internet. The troubleshooter says that the dns server isn't responding. I'm using dhcp.

Currently, this is some information in the ipconfig log: dhcp enabled, autoconfig enabled, ipv4: 192.168.0.100(preferred), subnet mask 255.255.255.0, default gateway: 192.168.0.1. Dhcp and dns servers also 192.168.0.1

I'm posting from my phone (3G) right now, so I can't copy and paste the log. If there is more info I need to give then please tell me.

My firewalls are currently off and I curently have no anti virus on my pc. Furthermore, when this issue arises, my iPhone can't get on the internet either, altho it can connect to the router. I've also done a power cycle, which didn't help.

What worries me the most is that it seems to happen randomly. Just yestersay I had internet all day, but today I don't.

If anyone has any suggestions, please let me know. I'd greatly appreciate any help.
 

Cruptic

Honorable
Jan 16, 2014
5
0
10,510
Yeah, I did set the dns server settings manually. Didn't work either. Using Google's dns servers doesn't improve things either, so I don't think the ISP is having issues.
 
You may be being mislead by the error message. when it says that try ping the google dns server by ip. You can also run traceroute to that ip or some other ones.

When it does not like multiple DNS servers it is more likely you have a more generic problem like traffic loss or maybe a completely loss of the connection.
 

Cruptic

Honorable
Jan 16, 2014
5
0
10,510
Thank you for taking the time to reply.

Pinging google gives the following result: reply from 192.168.1.2: destination net unreachable. This reply four times. Sent 4 packets, received 4 packets, loss 0%.

Tracing the route to google: 1 <1ms <1ms <1ms 192.168.0.1
2: 192.168.1.2 reports: destination net unreachable. Trace complete.

192.168.0.1 would be the gateway, but I'm not sure what 192.168.1.2 is to be honest.
 

evims

Honorable
Jan 16, 2014
18
0
10,520


192.168.1.2 is your own IP address, which means you're on a different network than your router. Statically set your IP to 192.168.0.X, depending on how many devices you have you may want to change it to a higher number, anything will work up to .254.
 

Cruptic

Honorable
Jan 16, 2014
5
0
10,510
Wasn't 192.168.0.100 my ip? Either way, I changed my ip to 192.168.0.55 in my adapter settings, but unfortunately that didn't change anything. Tracert gave me the same results. I checked my router settings and noticed the router's WAN ip is 192.168.1.105 and the WAN default gateway is 193.168.1.2. Is that what you were referring to?
 

evims

Honorable
Jan 16, 2014
18
0
10,520
What does it tell you when you type ipconfig /all into command prompt?

If your default gateway is in the 192.168.1 network, all the hosts have to be as well. Which would mean your IP would need to be 192.168.1.X
 

Cruptic

Honorable
Jan 16, 2014
5
0
10,510
Ipconfig says: dhcp enabled: no, autoconfiguration: yes. ipv4 192.168.0.55 (preferred), subnet mask 255.255.255.0, default gateway 192.168.0.1, DNS 192.168.0.1.

I can't change those WAN addresses in the router to 192.168.0.X addresses, as I get the error that the wan IP can't be in the same subnet as the LAN ip.
 
He could have 2 routers in the house where the second one is using 192.168.1.x for the "lan" connection. This is not all that uncommon for people that have what they think is a modem but is really a router.

It could also be the ISP that is using private addresses.

In either case the device that has ip 192.168.1.2 has no default route and is giving the unreachable message. If this is in the house then the internet is down. If it is the ISP this means the connection to the ISP router is good bad it has lost its connection to the internet.

I would bet there are 2 "routers" in the house.