xCAT build the /etc/resolv.conf based on domain name and nameserver from
site table.
if there is no nameserver, it will pick up xcatmaster.
Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com
From: Jeff Berry <jeff.be...@mrc-cbu.cam.ac.uk>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 06/29/2018 09:54 AM
Subject: [xcat-user] resolv.conf multiple search domains
Good afternoon,
configuring the cluster is proceeding apace, and I find myself unclear on
how best to deal with some dns issues.
xcat 2.14.1, Master and statelite nodes all running CentOS7.5
When I boot, a resolv.conf file is being generated and installed, and
although it has the right nameservers, it does not have the search domains
we want.
After liteimg, the .defaults/etc/resolv.conf file contains just the dummy
line. And on boot, I end up with a resolv.conf that looks like:
search <domain1> <domain1>
nameserver <ns1>
nameserver <ns2>
nameserver <ns3>
nameserver <ns4>
That is, the same domain is duplicated on the search line. The nameservers
themselves are correct, though.
I tried editing the .defaults/etc/resolv.conf file, but it had no effect.
Obviously I am unclear on how that resolv.conf file is being generated, and
any pointers that anyone can provide will be gratefully followed up.
Jeff Berry, MRC CBU
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user