In the message dated: Tue, 27 Jun 2023 17:46:50 -0000,
The pithy ruminations from Tomer Shachaf on 
[[External] [xcat-user] DNS] were:
=> Hi xCAT folks ,
=> 
=> I would like to know if I can add to the DNS server my own records ( A
=> & PTR) . Dose it possible ? its to use the xCAT as DNS server for more
=> components such as VMs etc . If it possible how I should do that ? Many
=> thanks ahead
=> 

Yes.

You can add arbitrary records in /etc/hosts, which is the source of data
used by "makedns" for the xCAT DNS server. This is easy, but not a great
idea because running 'makehosts -n' will remove all changes that are not within 
xCAT.

It is better to use "namedincludes" 
(https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/references/man5/site.5.html?highlight=namedincludes#site-attributes)
to include arbitrary file content within named.conf generated by xCAT "makedns".

Be aware that the 'makedns' parsing of /etc/hosts and included files to
create DNS records is not perfect -- round-robin DNS entries (creating
a single user-facing address for multiple CES nodes, for example)
are broken:

        https://github.com/xcat2/xcat-core/issues/6901
        https://github.com/xcat2/xcat-core/issues/6900

(maybe this has been fixed without closing the github issues).

Mark

=> 
=> 
=> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
=> Windows
=> 
=> 


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

Reply via email to