Cobbler not updating dhcpd conf

Posted by / 01-Dec-2019 01:14

We will start by copying the files so we have a backup remaining if anything goes wrong: 1.1 Copy the zone database files: We now need to add the key to the bind configuration and tell it what zones that we want it to allow updates on.

I’ve included the whole contents of my file here and marked the changes that I’ve made in bold.

I’m not sure how often that bind rewrites these files, but at least it seems to always happen when you stop the bind service.

What I think is more important is to always freeze the zone file before editing it, otherwise they might be overwritten by bind.

If you use an older version of Ubuntu, then you might want to check out the old guide, that was written for Ubuntu 8.04.

3.1 Edit /etc/bind/local: # # Make sure to change the ddns update style to interim: ddns-update-style interim; ignore client-updates; # Overwrite client configured FQHNs ddns-domainname ""; ddns-rev-domainname ""; # option definitions common to all supported networks... subnet 192.168.0.0 netmask 255.255.255.0 The configuration files now contains our secret key. We also have to give the DHCP-server the permission to read and write it’s own file.

option domain-name "home.lan"; option domain-name-servers lan; default-lease-time 600; max-lease-time 7200; # If this DHCP server is the official DHCP server for the local # network, the authoritative directive should be uncommented. 5.1 Remove the general read rights from the configuration files: The dns database files are now being rewritten by the bind service.

But I didn’t want this and I’m not going to update these files that often that it matters to me.

When using the dnssec-keygen to generate the secret key I passed it the parameter “-r /dev/urandom”.

cobbler not updating dhcpd conf-74cobbler not updating dhcpd conf-13cobbler not updating dhcpd conf-85

Network Manager is the program which (via the resolvconf utility) inserts address 127.0.1.1 into