Open abhishek-sa1 opened 10 months ago
@samveen can you help me on this?
@abhishek-sa1 when you refer to nameservers, are you referring to network.nameservers of network objects? This field is used to configure the DHCP server (as with each network object). This is utilized by the confignetwork script where it examines the lease file for the domain-name-servers
field, which is would have received via DHCP response when it got it's IP address.
I can see the script tries to attach that IP into the current network connection's DNS server using the nmcli con modify
command.
For this node, can you check the location of the interface's lease file? Once that is traced, we can proceed from there.
Also check linkedin for a connect request from me.
I am using
confignetwork
script to convert DHCP IP to static after provisioning of the server. I have observed thatconfignetwork
script is not configuring DNS entries provided in thenameservers
field ofsite
table.I saw above code in
configeth
script(called internally from confignetwork) related to DNS. I don't find any files in/var/lib/dhclient/
folder.Why xCAT is not picking DNS entries from
nameservers
field? I can seeNAMESERVERS
environment variable present on each server.@samveen @gurevichmark