Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GAH! /etc/hosts mindbender... please help!
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
Jebus
n00b
n00b


Joined: 10 Apr 2002
Posts: 11
Location: Calgary, Canada

PostPosted: Sat May 11, 2002 6:29 pm    Post subject: GAH! /etc/hosts mindbender... please help! Reply with quote

Argh! I just reinstalled using the new 1.2 tarball (not sure if that is the problem) and now, for some reason it doesn't seem to be reading the /etc/localhosts file.

Now the weird part is that I have BIND running, and my resolv.conf points to localhost as the server. Since localhost is looked up by the /etc/hosts file I shouldnt be able to look anything up right? wrong - I can ping names just fine, but I can't do an nslookup because it says localhost not found!

I feel like someone is messing with me! Oh, you think it could be anything in the new kernel, like the security options? i used the custom ones suggested on the security guide.

Thanks in advance for any help!
_________________
The only difference between a brown-noser and a shithead is depth perception.
Back to top
View user's profile Send private message
seaweed
n00b
n00b


Joined: 22 Apr 2002
Posts: 53
Location: NJ, USA

PostPosted: Sat May 11, 2002 8:05 pm    Post subject: Are you restricting BIND with an ACL? Reply with quote

If you have an ACL restricting lookups via BIND make sure you have 127.0.0.1 in the ACL.

My understanding from your post is the following.

You are running BIND locally.
Your "/etc/resolve.conf" contains (only) nameserver 127.0.0.1
Your "/etc/hosts" contains 127.0.0.1 localhost
General pings work "ping www.yahoo.com"
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