Subject: route from my machine to localhost bogus?
To: None <netbsd-help@NetBSD.ORG>
From: Robert Kennedy <robert@Theory.Stanford.EDU>
List: netbsd-help
Date: 07/09/1996 08:59:24
When I type "finger @localhost", I get prompt, correct output. How
should I set things up so that without name service running on my
machine and without (i.e., before) starting my ppp connection to get a
route to a name server, I can get, e.g., "finger @myhost.mydomain.net"
to work right? At the moment it just hangs after printing
"[myhost.mydomain.net]".

At boot time, my /etc/netstart does a
route add myhost.mydomain.net localhost
which seems good.

Here is my /etc/hosts file:
127.0.0.1       localhost
205.219.64.180  myhost.mydomain.net myhost

Here is my /etc/resolv.conf file:
lookup file bind
nameserver 204.71.212.2
nameserver 204.71.212.6

I figure that what I need is some way for my machine to "know" its own
IP address before the (same) IP address is established by negotiation
with my ISP's PPP server, but I don't know how to make that
happen. Any advice?

Thanks!

	-- Robert Kennedy