7.1 Configuration

From SambaWiki
Revision as of 07:58, 25 January 2007 by Asender (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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/