[Hostname]

Gregory D Hough mr6re9-mI4xJ4qlgtBiLUuM0BA3LQ at public.gmane.org
Wed Feb 11 13:55:33 UTC 2004


Hello all,

There may actually be a simple fix for this but it has elluded me for  
years. How to prevent HOSTNAME lookups to external DNS.

It's customary to give a machine a name, is it not? Localhost is bland  
and unoriginal. So how to deal with a standalone box using rp-pppoe and  
the ISP's primary DNS is my question. I'm weary at seeing "no such  
name" and "Hostname lookup failure." The lookup is useless, unecessary  
and downright stupid in this situation.

Are there any magical entries to /etc/resolv.conf?

Do I need to tweak /etc/nsswitch.conf? It already has files first for  
virtually everything. Am I missing a key file? The only option I  
haven't tried is db. Will that work and if so where can I look for  
help?

It boils down to this; some applications insist upon determining  
hostname --fqdn even when domainname returns <none>

Embarrassed,
farmer6re9
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list