I'm trying to switch the order of DNS servers that my clients machines use by editing the /etc/dhcp/dhcpd.conf
file in cobbler. This was the settings before I attempted the change:
subnet 10.100.48.0 netmask 255.255.252.0 {
option routers 10.100.48.53;
option domain-name-servers 10.100.48.51, 10.100.51.205;
option subnet-mask 255.255.252.0;
This is how I am updating the file (i.e. the DNS servers are switched around):
subnet 10.100.48.0 netmask 255.255.252.0 {
option routers 10.100.48.53;
option domain-name-servers 10.100.51.205, 10.100.48.51;
option subnet-mask 255.255.252.0;
The problem is, whenever I run cobbler sync
the /etc/dhcp/dhcpd.conf
file reverts to the original state. How can I ensure this does not happen?
Thanks