wok-next diff bind/receipt @ rev 19246
Up slitaz-tools (996)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 29 10:23:28 2016 +0200 (2016-06-29) |
parents | 9e01bc6321ea |
children | a5b865e166cd |
line diff
1.1 --- a/bind/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/bind/receipt Wed Jun 29 10:23:28 2016 +0200 1.3 @@ -45,4 +45,8 @@ 1.4 grep -qs allow-recursion "$1/etc/bind/named.conf.options" || 1.5 sed -i "s/.*directory.*/\\tallow-recursion { $localnets };\\n&/" \ 1.6 "$1/etc/bind/named.conf.options" 1.7 + #[ -x "$1/usr/bin/ssh-keygen" ] && 1.8 + #chroot "$1/" "hostname -f | xargs ssh-keygen -r" | \ 1.9 + # sed 's/^/update add /;s/ IN / 3600&/;/ SSHFP . 1 /d;' \ 1.10 + #chroot "$1/" nsupdate 1.11 }