X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=nsd%2Fnsd-dynipwatch;fp=nsd%2Fnsd-dynipwatch;h=4a650b0eaf4ec7a5f3b2fa4e63f1a4513180c2ec;hb=be585aeb67b5de819717bc83419b6a15e3d44ae7;hp=bd4b1449ff78df362c9692967412e308831dfbcd;hpb=7797f7e17b583385eaf0caa0e1a592210a71b7c7;p=shutils.git 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