4. Initial DNS Configuration
Similar to DHCP, configuration of DNS via cobbler also works through template files.
First you again have to enable DNS management by changing the
corresponding setting in /etc/cobbler/settings
:
manage_dns: 1
Also edit the bind_master
IP to the master IP in the cluster network:
bind_master: 192.168.16.1
Restart the cobblerd
service to load these changes.
Any subsequent cobbler sync
commands will then generate a new BIND
configuration file /etc/named.conf
based on
/etc/cobbler/named.template
and reload the BIND daemon.
Modify the options
section in that template to allow access from
both management and cluster subnets, similar to what was done in the previous
exercise. However, you do not need to add the zone
definitions just
yet. We will learn how to do this in a later section.
Update your named.conf
by running cobbler sync
.