~/update_dns_zones_centos

script to update zones/configs
This commit is contained in:
deepend 2018-11-25 02:21:50 -05:00
parent c39e30f3d1
commit 7af37e8d82
1 changed files with 11 additions and 0 deletions

11
update_dns_zones_centos Normal file
View File

@ -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