[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

No local name lookup



	I have mintnet 141 set up and running (and very well, I might 
add) on a slip link to my host (the modem's only 2400, but it's enough 
for now). Now observe the following:

/etc/hostname:
thelbane

/etc/resolv.conf:
domain brisnet.org.au
nameserver 127.0.0.1
nameserver 203.4.148.1
nameserver 203.4.148.65
nameserver 192.189.54.33
nameserver 128.250.22.2

/etc/hosts: (the first couple of lines..)
127.0.0.1	localhost lo0 loghost
203.4.148.180	thelbane thelbane.brisnet.org.au thelbane.brisnet thelbane.brisnet.org
203.4.148.1	gateway1 gateway1.brisnet.org.au gateway1.brisnet gateway1.brisnet.org
(etc)

(the output from route and ifconfig is...)
lo0:	flags=0x4b<UP,BROADCAST,LOOPBACK,RUNNING>
	inet 127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255 
	metric 0 mtu 16384
	in-packets  10 in-errors  0 collisions 0
	out-packets 10 out-errors 0
sl0:	flags=0x51<UP,POINTOPOINT,RUNNING>
	link-level-flags=0x10
	inet 203.4.148.180 netmask 255.255.255.0 dstaddr 203.4.148.1 
	metric 0 mtu 600
	in-packets  28179 in-errors  0 collisions 0
	out-packets 28182 out-errors 0
Destination         Gateway             Flags   Ref      Use Metric Iface
default             203.4.148.1         UG        1        0      0 sl0   
203.4.148.180       *                   UH        1    28179      0 lo0   
203.4.148.1         *                   UH        1    28190      0 sl0   
127.0.0.0           *                   U         1        0      0 lo0   
127.0.0.1           *                   UH        1       20      0 lo0   

-----------------------
Now, if I don't include gateway1 (203.4.148.1) as a nameserver, I don't 
get any name lookup. But 'localhost' is never resolved, nor is lo0 or 
loghost. No name lookup takes place on my local box at all (except that I 
_can_ refer to the names when I'm doing ifconfig, route or slattach).

Why is this?


 --
---------------------------------------------------------------------------
|   /----\   |GAT -d++()(--)>!d H s++: g+ p1+ !au a-? w+++(--)
|  /  //  \  |v---(-)*(++) c+++@>$ U?++++$>B++++$>S++++$ P+(-) L- 3-
| |  //  //| |E--- N++(+++) K W---() M(+) V--@ -po+(--@)(++@) Y+ t(+++@)
| | //  // | |!5 !j R+++()>$ G+ tv(-) b+++ !D B(-) e u++(*)
|  \/  // /  |h++(-)(---)>*$ f+(?) r--@(+++@) n----(--) y+++(++@)>*>**
|   \----/   |-------------------------------------------------------------
|            |   dancer@ozspace.brisnet.org.au
---------------------------------------------------------------------------