From: "Jeff Chan" <[EMAIL PROTECTED]>

> On Thursday, June 9, 2005, 5:32:23 AM, Ronan McGlue wrote:
> > Niek wrote:
> >> On 6/9/2005 2:19 PM +0200, Ronan McGlue wrote:
> >> 
> >>> sry should have added that the DNS order in /etc/resolv.conf is also 
> >>> correct...
> >> 
> >> 
> >> What order ? The nameservers are used randomly...
> > again, my semantics need work... :S
> 
> > the DNS *is in* order in /etc/resolv.conf...
> 
> 
> > anyclues as to why SA isnt 'apparently' using the hosts file??
> 
> > ronan
> 
> Don't use /etc/hosts for anything other than specifying the
> basics of your local machine.  /etc/hosts is only used by the
> system during boot time before BIND is up.  After that, BIND
> is responsible for name resolution.

There is a nice little trick if you have this line in your /etc/host.conf
file: "order hosts,bind". Add addresses to which you do not want any
information sent to that list. The effect is amusing. It is also quite
handy when one of the SARE sites goes down. You can override the rotary
DNS lookup and actually make rules downloads.

{^_-}   <- sneaky old bit**, ain't I?

Reply via email to