7.1 Configuration

Revision as of 07:58, 25 January 2007 by Asender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

7.1: Configuration


We will now create a directory on our DRBD drive /data/dnszones.

[root@node1 ~]# mkdir /data/dnszones


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/


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/