Blame SOURCES/bind-9.3.2-redhat_doc.patch

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