mirror of
https://github.com/TildeNIC/.tilde.git
synced 2026-11-07 22:35:38 +00:00
~/update_dns_zones_centos
script to update zones/configs
This commit is contained in:
1 parent
c39e30f3d1
commit
7af37e8d82
1 file changed
+11
@@ -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