help-cfengine
[Top][All Lists]
Advanced

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

Re: action sequence ;)


From: Systems Administrator
Subject: Re: action sequence ;)
Date: Fri, 16 Jan 2004 14:43:32 +1100 (EST)

On Fri, 16 Jan 2004 address@hidden wrote:

> Maybe you don't have a search domain in your resolv conf?
> Or perhaps there is an nsswitch.conf issue? It ought to
> work, but you could also use the IP of policy host directly.

        As Patryk said:

> >> I know it could not find a host, as I said before, I put garbage in
> >> resolv.conf.

        If it can't get to the policy host, it can't do anything.  Maybe
we should all put our policy host in our /etc/hosts files in case we ever
hose our resolv.conf.  That'd make us safer, assuming we don't mess up
the hosts entry, right?  Or am I just moving a problem from one place to
another?  Hmm.  My guess is that I'm not because:
1.      Hosts is simpler (to my mind) than resolv.conf
2.      If we overwrite hosts with garbage, it will just go on to use
        resolv.conf.

        So the only thing we'd have to worry about is an out-of-date hosts
file.  I don't know which is worse, that or the chance of being hit by a
dead resolv.conf :).

        Another note for Patryk: I'm using cfengine here on freshly rolled
out machines.  They come with one DNS server configured, and I use
cfengine to put in the search domain and the backup DNS.

        :)

--
Tim Nelson
Systems Administrator
Sunet Internet
Tel: +61 3 5241 1155
Fax: +61 3 5241 6187
Web: http://www.sunet.com.au/
Email: address@hidden







reply via email to

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