Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DNS working intermitantly
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
space_monkey
n00b
n00b


Joined: 11 Mar 2003
Posts: 22
Location: Somewhere

PostPosted: Thu Mar 27, 2003 11:18 pm    Post subject: DNS working intermitantly Reply with quote

I am haveing trouble with DNS with my new gentoo installation. It seems to only work sometimes. Bassically sometimes I can resolve names on the internet and sometimes I cant. I seem to have no problems when I boot the same computer into a windows xp partition.

This is what is in my resolv.conf

Code:
nameserver 194.168.4.100
nameserver 192.168.8.100


this is what happens when I ping google by name then by IP

Code:
andy@jeff andy $ ping www.google.com
ping: unknown host www.google.com
andy@jeff andy $ ping 216.239.39.104
PING 216.239.39.104 (216.239.39.104): 56 octets data
64 octets from 216.239.39.104: icmp_seq=0 ttl=51 time=111.4 ms


The thing I really dont understand is why I have no problem sometimes but other times DNS apears not to be working
Back to top
View user's profile Send private message
kashani
Advocate
Advocate


Joined: 02 Sep 2002
Posts: 2032
Location: San Francisco

PostPosted: Thu Mar 27, 2003 11:55 pm    Post subject: Re: DNS working intermitantly Reply with quote

Code:
nameserver 194.168.4.100
nameserver 192.168.8.100


I got $10 that says the second name server is the wrong IP. 192.168.8.100 would be internal IP space and it's probably unreachable.

194.168.8.100 would probably be the correct IP. I'm also a fan of using the the following /etc/resolv.conf settings to deal with the occasional broken DNS server:

Code:
azul kashani # more /etc/resolv.conf
domain badapple.net
search badapple.net lax.badapple.net chi.badapple.net
nameserver 10.10.101.34
nameserver 10.10.101.35
options rotate                 # round robin between name servers
options timeout:1            # set timeout to 1 sec instead of the 5,10,25
options retrans:1             # set retran to 1 sec instead of the above
options attempts:3           # set attempts to 3 down from 5


kashani
_________________
Will personally fix your server in exchange for motorcycle related shop tools in good shape.
Back to top
View user's profile Send private message
space_monkey
n00b
n00b


Joined: 11 Mar 2003
Posts: 22
Location: Somewhere

PostPosted: Fri Mar 28, 2003 5:41 pm    Post subject: Reply with quote

DOH! :oops:

Most of my problems seem to come down to typos, sometimes you just cant see them for looking.

Anyway, thanks for pointing it out, everything is fine now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum