[H-GEN] Stopping nameserver lookup for local subnet

Opec Kemp ( Ozemail ) okemp at ozemail.com.au
Tue Feb 13 22:43:53 EST 2001


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Add your localhost name to /etc/resolve.conf. 
Make sure that your localhost (luggage) is the first on the list, 
then your ISP DNS

-----Original Message-----
From: lists.humbug.org.au Mailing List Manager
[mailto:mdlishum at zerlargal.humbug.org.au]On Behalf Of Matthew Sellers
Sent: Wednesday, February 14, 2001 1:21 PM
To: general at lists.humbug.org.au
Subject: [H-GEN] Stopping nameserver lookup for local subnet


[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

I have set up a household network being masqueraded onto the internet
through a redhat 6.1 box. The network works fine except that if I try to
access the machines on the local network by hostname then the host will
always query my ISP name server before querying my local hosts file. Thus
causing a delay of 10 to 15 seconds.

from /etc/hosts (192.168.105.128)
127.0.0.1       dorfl.discworld dorfl localhost
192.168.105.38  luggage.discworld luggage



--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list