bug-cfengine
[Top][All Lists]
Advanced

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

Re: Aliased names.


From: Mark . Burgess
Subject: Re: Aliased names.
Date: Thu, 12 Apr 2001 15:26:02 +0200 (MET DST)

On 12 Apr, Germa Denis wrote:
> Hi,
> 
> When defining classes, it would be a gould Idea to 
> define the classes for the name of the machine
> you are running on and it's aliases (DNS aliases cname).
> 
> The mail server is named "toto", but is also named "mailserver", and
> "printserver".
> Those logical names enables us to change the behaviour of the machines
> without changing cfengine scripts, the same way we would do that through
> the NIS netgroups.Germa Denis wrote:
> 
> Presently when running cfengine, the defined classes is toto,
> and there is no mailserver nor printserver defined.
> 
> Same thing for the multiple names in NIS maps.
> 


There is code for this, but it doesn't work, because DNS
is not predictable. I can't remember if I figured out
what the problem was...If anyone want's to figure
out how to coax the CNAME aliases out of DNS, please
be my guest. It should be easy, but....

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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