From 7af37e8d82c3c22daf925e41dd7de902ebdf1296 Mon Sep 17 00:00:00 2001 From: deepend Date: Sun, 25 Nov 2018 02:21:50 -0500 Subject: [PATCH] ~/update_dns_zones_centos script to update zones/configs --- update_dns_zones_centos | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 update_dns_zones_centos diff --git a/update_dns_zones_centos b/update_dns_zones_centos new file mode 100644 index 0000000..75310ef --- /dev/null +++ b/update_dns_zones_centos @@ -0,0 +1,11 @@ +#!/bin/bash + +cd /var/tilde + +git pull + +cp db.*.* /etc/bind/ +cp named.conf.* /etc/bind/ +cp named.conf /etc/ + +systemctl reload named \ No newline at end of file