Open techie879 opened 4 years ago
I don't think that's supported at this time (only CNAME aliases on a single entry are, via the hosts
table), but I'd love that feature too!
A possible implementation for this is something that came about as a by-product of DNS separation from xCAT we'd implemented at one of our sites. The DNS deployment was a CI/CD pipeline implemented against a git repo containing all the DNS records, and any xCAT changes required prior changes to DNS (in this case a merge into the production branch). This had the nasty side effect of causing every DNS based xcat command to fail, but given our constraints, we were fine with it.
Might want to look at the new setting in 2.16. In the site table there is now a "namedincludes" key that allows you to include external files into the named config. From https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man5/site.5.html?highlight=namedinclude
named.conf, using named 'include' statement. This can allow users
to include local configuration options that will not be overwritten
by 'makedns -n'
Hi,
I have 6 nodes that I need to create a DNS RR name for.
[root@hpc3-xcat-1 named]# cat /etc/hosts |grep crsp 10.20.20.14 crspoitdc-gn-001 crspoitdc-gn-001.local crsp-nfs 10.20.20.15 crspoitdc-gn-002 crspoitdc-gn-002.local crsp-nfs 10.20.20.13 crspoitdc-gn-003 crspoitdc-gn-003.local crsp-nfs 10.20.20.12 crspicsdc-gn-001 crspicsdc-gn-001.local crsp-nfs 10.20.20.11 crspicsdc-gn-002 crspicsdc-gn-002.local crsp-nfs 10.20.20.10 crspicsdc-gn-003 crspicsdc-gn-003.local crsp-nfs [root@hpc3-xcat-1 named]# nslookup crspicsdc-gn-001 Server: 127.0.0.1 Address: 127.0.0.1#53
Name: crspicsdc-gn-001.local Address: 10.20.20.12
I need to create RR record called "crsp-nfs" for these machines listed above. It looks like makedns does not seem to support this.
I have the nodes added in xcat, I can individually query their IP addresses. But, I can't seem to do nslookup on 'crsp-nfs'.
I can see the zones are created in /var/named
[root@hpc3-xcat-1 named]# grep crsp * grep: data: Is a directory db.10.20:10 PTR crspicsdc-gn-003.local. db.10.20:11 PTR crspicsdc-gn-002.local. db.10.20:12 PTR crspicsdc-gn-001.local. db.10.20:13 PTR crspoitdc-gn-003.local. db.10.20:14 PTR crspoitdc-gn-001.local. db.10.20:15 PTR crspoitdc-gn-002.local. Binary file db.10.20.jnl matches db.local:crspicsdc-gn-001 A 10.20.20.12 db.local:crspicsdc-gn-002 A 10.20.20.11 db.local:crspicsdc-gn-003 A 10.20.20.10 db.local:crspoitdc-gn-001 A 10.20.20.14 db.local:crspoitdc-gn-002 A 10.20.20.15 db.local:crspoitdc-gn-003 A 10.20.20.13 Binary file db.local.jnl matches grep: dynamic: Is a directory grep: slaves: Is a directory
How do I set this up?
thanks.