7.1 Configuration
From SambaWiki
7.1: Configuration
Step1
We will now create a directory on our DRBD drive /data/dnszones.
[root@node1 ~]# mkdir /data/dnszones
Step2
Change the location of the zone files to our replicated drive
[root@node1 ~]# named ? usage: named [-4|-6] [-c conffile] [-d debuglevel] [-f|-g] [-n number_of_cpus] [-p port] [-s] [-t chrootdir] [-u username] [-m {usage|trace|record}] [-D ] named: extra command line arguments [root@node1 ~]# named -t /data/dnszones/
Step3
Copy the default zone files to our new location and set the permissions.
[root@node1 ~]# rsync -avz /var/named/ /data/dnszones/
[root@node1 ~]# chown –R named.named /data/dnszones/