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

Re: /etc/host.conf questions



On Tue, Oct 30, 2007 at 11:43:59AM -0400, Mike Kuhar wrote:
> That would be
> /etc/nsswitch.conf
> 
> on the line marked 'hosts'
> 
> -mike
> 
> -----Original Message-----
> From: Paul E Condon [mailto:pecondon@mesanetworks.net] 
> Sent: Tuesday, October 30, 2007 11:21 AM
> To: debian-user@lists.debian.org
> Subject: /etc/host.conf questions
> 
> I'm running Etch. I'm involved in a project to understand
> how networking is set up on my home lan. I'm looking at
> /etc/host.conf . It contains a single line:
> 
> multi on
> 
> man host.conf says that a possible config-line in host.conf
> is 'order', and there is no such line in my copy. This line
> is supposed to determine whether BIND or /etc/hosts if 
> searched first. Since there is no such line, resolver must
> be doing some default. What is the default order in Debian
> Etch? Or, is there some other place where the order is really
> set in Debian Etch?
> 

Thanks, Mike

Pointing out nsswitch.conf helped me very much in understanding
networking. googling it lead to all sorts of information that
I had never seen before.

My current understanding is that on debian systems, nsswitch.conf
overrides and replaces the 'order' option in host.conf. It 
might be useful for the man page of host.conf to include a
mention of nsswitch.conf. Until that happens, it's great that
there is this list and you read it and respond.

-- 
Paul E Condon           
pecondon@mesanetworks.net



Reply to: