thanks, Kilian.

it's possible can your add few lines to describe "namedincludes" attribute
in the "site" table  on the xCAT readdoc.

looks like you added this attribute to xcat-core on 2017,  but nothing
mentioned on the xcat-doc,


Thanks,
Casandra Qiu
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Kilian Cavalotti <kilian.cavalotti.w...@gmail.com>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   06/01/2020 11:52 AM
Subject:        [EXTERNAL] Re: [xcat-user] Can I use xCAT to configure NAMED to
            delegate certain domain names to external dns server



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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_xcat2_xcat-2Dcore_pull_4497&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=00VvPI5okNLjAZIBh1dAeVxSs1pd7DW7ZV9iMeQe5AA&s=2v0XDbltq02v8CVBfrZnUTVKfPq-IQ0xMcZBG5JdYQ0&e=
 , 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://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=00VvPI5okNLjAZIBh1dAeVxSs1pd7DW7ZV9iMeQe5AA&s=9TQ7kQLhz8tlA17qNFzBU3Da7ZiKYkDF-ucAM0RxMqs&e=




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

Reply via email to