Part time hosts file

Willy Peake (wlpeake@ibm.net)
Fri, 9 Oct 1998 10:08:59 -0600


I'm a new Linux user but having a lot of fun.

My problem is not all programs use the hosts file.
Ping, telnet and some others do. They find the second
computer [kitty.n7vvl.ampr.org] fine.

But programs like sendmail and host don't. When I send a message
to user@kitty, in the var/log/messages file, sendmail correctly forms
machine name to kitty.n7vvl.ampr.org and then says it can't find it.

I have these files set up:

hosts:
192.168.13.1 thunder.n7vvl.ampr.org thunder
192.168.13.13 kitty.n7vvl.ampr.org kitty
127.0.0.1 localhost.n7vvl.ampr.org localhost

host.conf:
order hosts,bind
multi on

resolv.conf:
search n7vvl.ampr.org
nameserver 204.146.247.41

It seems like it picks up the info from the resolv.conf file
but doesn't make connect to hosts file.

I think the routing table is working because of ping kitty does work.

Slackware 3.5, 2.0.34

Some help would be appreciated. Thanks in advance.

Willy Peake (A trying to be rid of windows user or at least co-exist)
wlpeake@ibm.net

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu