[sysadmin-bin] Add the automatic-dnssec-sigzone script that will run weekly through cron



commit fcd09ce2d0bf21c7cb8518372c5e065caef59d5e
Author: Andrea Veri <av gnome org>
Date:   Mon Nov 11 21:44:27 2013 +0100

    Add the automatic-dnssec-sigzone script that will run weekly through cron

 automatic-dnssec-signzone |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/automatic-dnssec-signzone b/automatic-dnssec-signzone
new file mode 100755
index 0000000..9ce6c8d
--- /dev/null
+++ b/automatic-dnssec-signzone
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+signed_zones='gnome.org'
+
+cd /tmp
+git clone /home/admin/dns.git
+cd dns/master ; /usr/sbin/dnssec-signzone -K /etc/dnssec-keys/ -n INCREMENT $signed_zones
+git commit -a -m 'Automatic weekly signing run'
+git push


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]