Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trouble with hosts, bind
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
rmorehead
n00b
n00b


Joined: 28 Jul 2002
Posts: 15
Location: Clarksburg, WV

PostPosted: Sun Jul 28, 2002 11:53 pm    Post subject: Trouble with hosts, bind Reply with quote

I'm sorry to be asking this -- it seems like it ought to be an easy problem to resolve, but I am stumped...

I am using gentoo as a gateway pc for a home network. I have configured all computers with static ip's on the local network, and have them listed in /etc/hosts. I can ping all computers and can surf the net from any computer, but I am unable to access any computers on my LAN using dig or similar programs.

In other words, I can ping "localhost", but if I attempt "dig localhost" or "host localhost" I am told the computer can't be found. Appreciate any thoughts.
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Mon Jul 29, 2002 2:06 am    Post subject: Reply with quote

dig and host do dns searches. If you just have the intranet machines only in /etc/hosts, dig and host will not be able to find them, AFAIK. If you are being served by an external DNS, it would not know about boxes on your private network.

Anyway, as long as you can ping them by name, you should be fine. Was there a reason you want to resolve their names through dig/host?
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