From b400f22cae7bc6595ef0f4aca9defce323cb4ae2 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Nov 2018 23:03:15 +0000 Subject: [PATCH] Added update script for ubuntu --- update_dns_zones_ubuntu | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 update_dns_zones_ubuntu diff --git a/update_dns_zones_ubuntu b/update_dns_zones_ubuntu new file mode 100755 index 00000000..3214f9f8 --- /dev/null +++ b/update_dns_zones_ubuntu @@ -0,0 +1,11 @@ +#!/bin/bash + +cd /var/tilde/ + +git pull + +cp /var/tilde/db* /etc/bind/ + +cp /var/tilde/named.conf.* /etc/bind/ + +systemctl reload bind9