LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author]
  From: Gordon Rowell <Gordon.Rowell@uniq.com.au>
  To  : Peter McCarthy <mccarthy@mail.austasia.net>
  Date: Wed, 30 Jul 1997 07:50:11 +1000 (EST)

Re: [SLUG] pop

On Tue, 29 Jul 1997, Peter McCarthy wrote:

> Hi
> 
> I got my named running thanx all for your help.  (I was also missing the
> named.boot file)
> 
> Now how do I get named to first try the hosts file then resolve from the
> name server ? 

{Being picky here} It's not actually named, it's the resolver library
which determines whether to use named or the hosts file. The resolver
library can choose which nameservice to use - hosts, named, NIS (not that
you would want to choose that option). 

> I thought it was done in /etc/hosts.conf with the line
> 
> order hosts bind

Almost - the syntax is: 

order hosts,bind

> but that didn't work.
> 
> Is it somehow done in the resolv.conf file ?

No - that only specifies which nameservers (named/bind) to talk to.

> [...]

Gordon
-- 
 Gordon Rowell                            Email:  Gordon.Rowell@uniq.com.au
 Gormand Pty Ltd (ACN 067 684 548)        Mobile: +61 (0418) 467 366


Index: [thread] [date] [subject] [author]
Return to the LinuxSA Mailing List Information Page