Setup of Devuan name server sub system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
348 B

#!/bin/bash
cd /etc/nsd/GIT
date >> /var/log/generate-rr.log
if /etc/nsd/GIT/generate-rr.pl >>/var/log/generate-rr.log 2>&1; then
cp /etc/nsd/rr.devuan.org.zone /etc/nsd/GIT/rr.devuan.org.zone
git -c user.name="Devuan Dev Team" -c user.email=devuan-dev@lists.dyne.org commit -m 'Generated by DNS automation' rr.devuan.org.zone
git push dns
fi