From 66a946b8b22f03544a6cecf1ac65bca8dd154a0f Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 3 Jun 2020 00:05:23 +0200 Subject: [PATCH] daily autocommit --- .etckeeper | 1 + resolv.conf | 7 ++----- systemd/system/bind9.service | 15 +++++++++++++++ systemd/system/bind9.service.d/override.conf | 1 - 4 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 systemd/system/bind9.service diff --git a/.etckeeper b/.etckeeper index d6cc694..cad6644 100755 --- a/.etckeeper +++ b/.etckeeper @@ -2894,6 +2894,7 @@ maybe chmod 0755 'systemd/system' maybe chmod 0644 'systemd/system.conf' maybe chmod 0755 'systemd/system.conf.d' maybe chmod 0644 'systemd/system.conf.d/50_linuxmint.conf' +maybe chmod 0644 'systemd/system/bind9.service' maybe chmod 0755 'systemd/system/bind9.service.d' maybe chmod 0644 'systemd/system/bind9.service.d/override.conf' maybe chmod 0755 'systemd/system/bluetooth.target.wants' diff --git a/resolv.conf b/resolv.conf index c3eb8f0..98bf5c3 100644 --- a/resolv.conf +++ b/resolv.conf @@ -1,6 +1,3 @@ +# Generated by NetworkManager search home.brehm-online.com brehm-online.com hennig-berlin.org uhu-banane.de uhu-banane.net -nameserver 127.0.0.1 -nameserver 1.1.1.1 -nameserver 8.8.8.8 -nameserver 8.8.4.4 -options timeout:1 attempts:2 use-vc +nameserver 127.0.0.53 diff --git a/systemd/system/bind9.service b/systemd/system/bind9.service new file mode 100644 index 0000000..5a21c45 --- /dev/null +++ b/systemd/system/bind9.service @@ -0,0 +1,15 @@ +[Unit] +Description=BIND Domain Name Server +Documentation=man:named(8) +Wants=nss-lookup.target +After=networking.service +Before=nss-lookup.target display-manager.service chrony.service openvpn.service postfix.service smbd.service ssh.service systemd-resolved.service + +[Service] +EnvironmentFile=/etc/default/bind9 +ExecStart=/usr/sbin/named -f $OPTIONS +ExecReload=/usr/sbin/rndc reload +ExecStop=/usr/sbin/rndc stop + +[Install] +WantedBy=multi-user.target diff --git a/systemd/system/bind9.service.d/override.conf b/systemd/system/bind9.service.d/override.conf index f3d98f2..556204b 100644 --- a/systemd/system/bind9.service.d/override.conf +++ b/systemd/system/bind9.service.d/override.conf @@ -1,3 +1,2 @@ [Unit] Before=display-manager.service chrony.service openvpn.service postfix.service smbd.service ssh.service systemd-resolved.service - -- 2.39.5