X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=dynamic-ip-update;h=1f55f4c458145c6c600d6910a1108aee4521fd21;hp=f696c0ceba3312e0bc4b56a6316d9c309a863c96;hb=f9ec6d39566c13775abd5d1709a44e5bd1c32997;hpb=9d5638298349b859d69c95a88d3e6270fced62f9 diff --git a/dynamic-ip-update b/dynamic-ip-update index f696c0c..1f55f4c 100755 --- a/dynamic-ip-update +++ b/dynamic-ip-update @@ -80,15 +80,17 @@ answer quit EOF -nsupdate -k /p/c/machine_specific/li/filesystem/etc/bind/Kb8.nz.*.private <$f +nsupdate -k /p/c/machine_specific/linode/filesystem/etc/bind/Kb8.nz.*.private <$f +sed -i 's/^server .*/server l2.b8.nz/' $f +nsupdate -k /p/c/machine_specific/linode/filesystem/etc/bind/Kb8.nz.*.private <$f exit # # persistent initial setup for this: -# # create files in /a/c/machine_specific/li/filesystem/etc/bind +# # create files in /a/c/machine_specific/linode/filesystem/etc/bind # # note, conflink also does some group ownership stuff. -mkc /p/c/machine_specific/li/filesystem/etc/bind +mkc /p/c/machine_specific/linode/filesystem/etc/bind s dnssec-keygen -a HMAC-SHA512 -b 512 -n HOST b8.nz user=$(id -un) s chown $user:$user *