Blame SOURCES/bind-9.3.2-redhat_doc.patch

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