|
Tomas Hozza |
3fed71 |
diff --git a/bin/named/named.8 b/bin/named/named.8
|
|
Tomas Hozza |
3fed71 |
index ef10ef4..3150b22 100644
|
|
Tomas Hozza |
3fed71 |
--- a/bin/named/named.8
|
|
Tomas Hozza |
3fed71 |
+++ b/bin/named/named.8
|
|
Tomas Hozza |
3fed71 |
@@ -349,6 +349,63 @@ The default configuration file\&.
|
|
Tomas Hozza |
3fed71 |
/var/run/named/named\&.pid
|
|
Adam Tkac |
c30533 |
.RS 4
|
|
Tomas Hozza |
3fed71 |
The default process\-id file\&.
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+.SH "NOTES"
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+.TP
|
|
jvdias |
667fce |
+\fBRed Hat SELinux BIND Security Profile:\fR
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+By default, Red Hat ships BIND with the most secure SELinux policy
|
|
jvdias |
667fce |
+that will not prevent normal BIND operation and will prevent exploitation
|
|
jvdias |
667fce |
+of all known BIND security vulnerabilities . See the selinux(8) man page
|
|
jvdias |
667fce |
+for information about SElinux.
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+It is not necessary to run named in a chroot environment if the Red Hat
|
|
jvdias |
667fce |
+SELinux policy for named is enabled. When enabled, this policy is far
|
|
jvdias |
667fce |
+more secure than a chroot environment. Users are recommended to enable
|
|
jvdias |
667fce |
+SELinux and remove the bind-chroot package.
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+With this extra security comes some restrictions:
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+By default, the SELinux policy does not allow named to write any master
|
|
jvdias |
667fce |
+zone database files. Only the root user may create files in the $ROOTDIR/var/named
|
|
jvdias |
667fce |
+zone database file directory (the options { "directory" } option), where
|
|
jvdias |
667fce |
+$ROOTDIR is set in /etc/sysconfig/named.
|
|
jvdias |
667fce |
+.PP
|
|
Tomas Hozza |
3fed71 |
+The "named" group must be granted read privelege to
|
|
Tomas Hozza |
3fed71 |
+these files in order for named to be enabled to read them.
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+Any file created in the zone database file directory is automatically assigned
|
|
jvdias |
667fce |
+the SELinux file context named_zone_t .
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+By default, SELinux prevents any role from modifying named_zone_t files; this
|
|
jvdias |
667fce |
+means that files in the zone database directory cannot be modified by dynamic
|
|
jvdias |
667fce |
+DNS (DDNS) updates or zone transfers.
|
|
jvdias |
667fce |
+.PP
|
|
Adam Tkac |
7fdb7f |
+The Red Hat BIND distribution and SELinux policy creates three directories where
|
|
Adam Tkac |
7fdb7f |
+named is allowed to create and modify files: /var/named/slaves, /var/named/dynamic
|
|
Adam Tkac |
7fdb7f |
+/var/named/data. By placing files you want named to modify, such as
|
|
Tomas Hozza |
3fed71 |
+slave or DDNS updateable zone files and database / statistics dump files in
|
|
jvdias |
667fce |
+these directories, named will work normally and no further operator action is
|
|
jvdias |
667fce |
+required. Files in these directories are automatically assigned the 'named_cache_t'
|
|
jvdias |
667fce |
+file context, which SELinux allows named to write.
|
|
jvdias |
667fce |
+.PP
|
|
Adam Tkac |
edea69 |
+\fBRed Hat BIND SDB support:\fR
|
|
jvdias |
667fce |
+.PP
|
|
Adam Tkac |
edea69 |
+Red Hat ships named with compiled in Simplified Database Backend modules that ISC
|
|
Adam Tkac |
15c5cd |
+provides in the "contrib/sdb" directory. Install bind-sdb package if you want use them
|
|
jvdias |
667fce |
+.PP
|
|
Adam Tkac |
15c5cd |
+The SDB modules for LDAP, PostGreSQL, DirDB and SQLite are compiled into named-sdb.
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+See the documentation for the various SDB modules in /usr/share/doc/bind-sdb-*/ .
|
|
jvdias |
667fce |
+.br
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+\fBRed Hat system-config-bind:\fR
|
|
jvdias |
667fce |
+.PP
|
|
jvdias |
667fce |
+Red Hat provides the system-config-bind GUI to configure named.conf and zone
|
|
jvdias |
667fce |
+database files. Run the "system-config-bind" command and access the manual
|
|
jvdias |
667fce |
+by selecting the Help menu.
|
|
jvdias |
667fce |
+.PP
|
|
Adam Tkac |
c30533 |
.RE
|
|
jvdias |
667fce |
.SH "SEE ALSO"
|
|
jvdias |
667fce |
.PP
|