You are not logged in.

#1 2011-12-16 12:27:38

simt
Member
Registered: 2011-12-13
Posts: 4

[SOLVED] DNS stops working

Hi!

I'm running arch64 on my Thinkpad x220 and have a strange problem here.
Sometimes DNS just stops working, to rule out a bad Server I tried it with the one of Google:

dig @8.8.8.8 archlinux.puzzle.ch

On Archlinux dig tells me that no servers could be reached, although I can successfully ping 8.8.8.8.
Running MacOSX on another machine in the same network, dig gives me back the matching a-record.

This usually lasts from a few minutes up to about two hours, only on archlinux. Does somebody have any idea on this? sad

Last edited by simt (2011-12-22 18:39:27)

Offline

#2 2011-12-16 19:10:34

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] DNS stops working

Shouldn't it be more like 'dig archlinux.puzzle.ch @8.8.8.8' ?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2011-12-16 21:10:48

simt
Member
Registered: 2011-12-13
Posts: 4

Re: [SOLVED] DNS stops working

R00KIE wrote:

Shouldn't it be more like 'dig archlinux.puzzle.ch @8.8.8.8' ?

Doesn't matter, although manpage says 'dig @server query'.

Offline

#4 2011-12-17 10:39:57

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] DNS stops working

You are right, the manpage says 'dig @server query' but it seems to work either way. Maybe you can try 'tcptraceroute 8.8.8.8 53', it will probe tcp port 53 directly, although not the same as a "normal" dns query that will use udp [1] it will be quite close.

[1] http://en.wikipedia.org/wiki/Domain_Nam … ol_details


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2011-12-18 18:02:00

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,491

Re: [SOLVED] DNS stops working

Also have a look if you get network errors when that happens

ifconfig -s

If not you can check, if the dns requests actually go out with tcpdump. Strange problem anyhow since the ping works.

Offline

#6 2011-12-19 17:55:07

simt
Member
Registered: 2011-12-13
Posts: 4

Re: [SOLVED] DNS stops working

The requests go out. I think I traced the problem down to my router(an old netgear device) when I reboot it everything works fine again.
Still I'm curious why it didn't affect MacOSX, I tried Arch on another machine and had the same thing.

I'll check back later when I'm done setting up my new router.

Offline

#7 2011-12-22 11:04:22

simt
Member
Registered: 2011-12-13
Posts: 4

Re: [SOLVED] DNS stops working

Haven't had the problem since using my new device, I think this can be marked as solved.

Offline

#8 2011-12-22 12:06:51

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] DNS stops working

simt wrote:

Haven't had the problem since using my new device, I think this can be marked as solved.

Then edit your first post and add [Solved] to the title wink


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB