Many thanks for the answer mark , just to be sure on how to do it , should I 
create anew file ? if yes where ? and what content of the file ?example for 
server 
And what value should I add the site table ? 

-----Original Message-----
From: mark.berg...@pennmedicine.upenn.edu <mark.berg...@pennmedicine.upenn.edu> 
Sent: Tuesday, 27 June 2023 22:17
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] [External] DNS

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
זהירות: מקור הדואל הזה הוא מחוץ למטריקס. חל איסור ללחוץ על קישורים או לפתוח 
קבצים מצורפים אלא אם כן השולח מוכר והתוכן בטוח
Caution: The source of this email is from outside Matrix. it is forbidden to 
click on links or open attachments unless you recognize the sender and know the 
content is safe.

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

Reply via email to