mirror of
https://github.com/TildeNIC/.tilde.git
synced 2026-01-24 03:50:19 +00:00
~/update_dns_zones_centos
script to update zones/configs
This commit is contained in:
11
update_dns_zones_centos
Normal file
11
update_dns_zones_centos
Normal 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
|
||||
Reference in New Issue
Block a user