Hi David,

On Mon, Jun 1, 2020 at 6:57 AM David Johnson <david_john...@brown.edu> wrote:
> The actual use case is forwarding to Isilon "Smart Connect Zone", which hands 
> out round robin IP addresses
> for the NFS and CIFS mounts.
>
> I don't want to edit the named.conf directly as this is liable to get 
> clobbered if anyone runs makedns -n .

For that very same use case, we ended up proposing
https://github.com/xcat2/xcat-core/pull/4497, which has now been
included upstream.

So you can now use the "namedincludes" attribute in your "site" table,
to specify a list of configuration files paths to include in the
xCAT-generated named.conf, to cover those cases.

For instance, we're using this:

# tabdump -w key==namedincludes site
#key,value,comments,disable
"namedincludes","/etc/named.rfc1912.zones,/etc/named/local.conf,",,

which results in the following lines to be included in the
/etc/named.conf that makedns generates:

include "/etc/named.rfc1912.zones";
include "/etc/named/local.conf";

There, you can add all your zone delegations and custom options you
need in /etc/named/local.conf, and they will be left alone when when
named.conf is regenerated.

Hope this helps!

Cheers,
-- 
Kilian


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to