summaryrefslogtreecommitdiffstats
path: root/source/n/bind/default.named
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/bind/default.named')
-rw-r--r--source/n/bind/default.named24
1 files changed, 24 insertions, 0 deletions
diff --git a/source/n/bind/default.named b/source/n/bind/default.named
new file mode 100644
index 000000000..e300250af
--- /dev/null
+++ b/source/n/bind/default.named
@@ -0,0 +1,24 @@
+# User to run named as:
+NAMED_USER=named
+
+# Group to use for named related files and directories.
+# By default, named will also run as the primary group of $NAMED_USER,
+# which will usually be the same as what's listed below, but not
+# necessarily if something other than the default of "named" is used.
+NAMED_GROUP=named
+
+# Options to run named with. At least -u $NAMED_USER is required, but
+# additional options may be added if needed.
+NAMED_OPTIONS="-u $NAMED_USER"
+
+# If this is set to YES, then before starting named the startup script
+# will make sure that /etc/rndc.key (if it exists) and the enitre contents
+# of /var/named are chowned to $NAMED_USER:$NAMED_GROUP. If some of these
+# files are improperly owned, named will refuse to start or may not work
+# properly. This is also a useful setting when upgrading from an older BIND
+# package that would run as root.
+#
+# If NAMED_CHOWN is set to anything other than YES (or is unset), then these
+# files will not be chowned automatically and the admin will handle any
+# required file ownerships.
+NAMED_CHOWN=NO