.tilde/update_dns_zones_centos

11 lines
129 B
Bash

#!/bin/bash
cd /var/tilde
git pull
cp db.*.* /etc/bind/
cp named.conf.* /etc/bind/
cp named.conf /etc/
systemctl reload named