Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Temporary failure in name resolution [FIXED]
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
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Thu Nov 01, 2007 2:55 pm    Post subject: Temporary failure in name resolution [FIXED] Reply with quote

I was getting this message,
Code:
Temporary failure in name resolution

When starting ntp-client or when pinging a server on the net.

I'm pretty sure this is because a few days ago I tried setting my domainname by setting combinations of dns_domain_lo, dns_domain_, dns_domain_eth0 in /etc/conf.d/net the other day. When I removed my changes, it didn't fix the problem, but maybe I missed something else... Partly because it created (or maybe modified) the /etc/resolv.conf file. When I removed this file and restarted the networking it didn't fix it, either. For now, I put in a fixed /etc/resolv.conf, but I'm pretty sure I don't normally need to do this. Is this a good fix?

Here's my current /etc/conf.d/net,
Code:
config_eth0=( "10.0.0.10 netmask 255.255.255.0 brd 10.0.0.255" )
routes_eth0=( "default via 10.0.0.1" )


and current my temporarily fixed /etc/resolv.conf,
Code:
nameserver 10.0.0.1


Last edited by spindle on Fri Nov 02, 2007 2:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Thu Nov 01, 2007 8:23 pm    Post subject: Reply with quote

You need a proper /etc/resolv.conf file UNLESS you use DHCP (which overwrites it).
Maybe you had a good /etc/resolv.conf file before?
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Fri Nov 02, 2007 2:57 pm    Post subject: Reply with quote

You were right. I looked at a recent backup and I had a similar /etc/resolv.conf in there. Don't know why I didn't check the backup before :oops:. Thanks!
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