From: Stefan Huber <shuber@sthu.org>
Date: Fri, 2 Aug 2013 13:15:53 +0000 (+0200)
Subject: nsd: Add dnssec signing
X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=be585aeb67b5de819717bc83419b6a15e3d44ae7;p=shutils.git

nsd: Add dnssec signing
---

diff --git a/nsd/nsd-dynipwatch b/nsd/nsd-dynipwatch
index bd4b144..4a650b0 100755
--- a/nsd/nsd-dynipwatch
+++ b/nsd/nsd-dynipwatch
@@ -69,6 +69,7 @@ function run()
 			echo " Update IP address. New serial ${serial}."
 			setAddrInZonefile "${host}" "${zonefile}" "${newip}"
 			setSerialInZonefile "${zonefile}" "${serial}"
+			/etc/nsd3/signzone.sh sthu.org
 			nsdc rebuild && nsdc reload && nsdc notify
 		fi
 	done