bug-cfengine
[Top][All Lists]
Advanced

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

Re: [Cfengine] Resolv oddities (cfengine 2.0.6 on HP-UX 11.0)


From: Fredrik Jagenheim
Subject: Re: [Cfengine] Resolv oddities (cfengine 2.0.6 on HP-UX 11.0)
Date: Thu, 15 May 2003 15:06:52 +0200
User-agent: Mutt/1.5.1i

On Thu, May 15, 2003 at 02:36:40PM +0200, Tjeerd Hes wrote:
> Fredrik Jagenheim wrote:
> >Our cf.resolv looks like this (Not really, but you get the idea):
> >
> >192.168.1.3
> >192.168.1.4
> >"domain ourdomain.net"
> >"search ourdomain.net thatdomain.org"
> >
> 
> Works as designed.
> from a man page `man resolv.conf`  (checked solaris + fbsd);
> 
>      The  domain and  search keywords are mutually exclusive.  If
>      more  than  one  instance  of these keywords is present, the
>      last instance takes precedence.
> 

Thanks, I had missed the part about those two being exclusive.
However, I still don't understand how adding the 'search
ourdomain.net' is 'working as designed' as there are already one
extra keyword, and adding /another/ extra mutually exclusive keyword
won't exactly help...

Anyway, I changed our cf.resolv to just have the 'search' part
included. Then cfengine decided to add 'domain ourdomain.net' at the
end of /etc/resolv.conf, something I'd think is /not/ working as
designed, since they're supposed to be mutually exclusive...

So, to rephrase the question, how do I tell cfengine that I want to be
able to search two domains when I lookup hostnames?

//F

-- 
To segfault is human; to bluescreen moronic. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]