This unit is provided by:
Options
-
[Install]
-
[Service]
-
Environment=NAMEDCONF=/etc/named.conf KRB5_KTNAME=/etc/named.keytab
-
EnvironmentFile=-/etc/default/named
-
EnvironmentFile=-/etc/sysconfig/named
-
EnvironmentFile=/etc/sysconfig/named
-
ExecReload=/bin/sh -c 'if /usr/sbin/rndc null > /dev/null 2>&1; then /usr/sbin/rndc reload; else /bin/kill -HUP $MAINPID; fi'
-
ExecReload=/usr/bin/kill -HUP $MAINPID
-
ExecReload=/usr/sbin/rndc reload
-
ExecStart=/usr/bin/named -f -u named
-
ExecStart=/usr/sbin/named -f $OPTIONS
-
ExecStart=/usr/sbin/named -u named $NAMED_ARGS
-
ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS
-
ExecStartPre=+/usr/libexec/bind/named.prep
-
ExecStartPre=/bin/bash -c 'if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/bin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi'
-
ExecStop=/bin/sh -c '/usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID'
-
ExecStop=/usr/sbin/rndc stop
-
KillMode=process
-
PIDFile=/run/named/named.pid
-
PrivateDevices
Introduced in systemd 209=yes -
PrivateTmp=yes
-
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=strict -
ReadWritePaths=/var/lib/named /run/named /var/log/named
-
Restart=on-abnormal
-
Restart=on-failure
-
RestrictNamespaces
Introduced in systemd 233=yes -
RestrictRealtime
Introduced in systemd 231=yes -
RestrictSUIDSGID
Introduced in systemd 242=yes -
Type=forking
-
-
[Unit]
-
After=named-setup-rndc.service network.target
-
After=network.target
-
After=network.target time-set.target
-
Before=nss-lookup.target
-
Description=BIND Domain Name Server
-
Description=Berkeley Internet Name Domain (DNS)
-
Description=Internet domain name server
-
Documentation=man:named(8)
-
Wants=nss-lookup.target
-
Wants=nss-lookup.target named-setup-rndc.service
-
Wants=nss-lookup.target time-set.target
-
Additionnal notes
Nothing here.