Go to file
2022-02-11 21:08:08 +01:00
systemd-templates Initial commit 2022-02-11 20:24:15 +01:00
.gitignore Initial commit 2022-02-11 20:24:15 +01:00
install.sh Add x bit to install.sh 2022-02-11 20:46:53 +01:00
main.sh Add pwd when sourcing variables.conf 2022-02-11 21:08:08 +01:00
README.md Add requirement info in README 2022-02-11 20:45:24 +01:00
variables.conf.template Initial commit 2022-02-11 20:24:15 +01:00

DNS update script

Source: http://www.btteknik.net/?p=143

Requirements

  • DiG

DNSSEC key

  • need to create a dnssec key, so that we can authenticate clients' updates
# ddns-confgen -s myhost.example.com
  • this key must be:
    • added to DNS server's named.conf and associated to required zones
    • stored in a text file in the same directory as the script as dns.key

Install script

You may run install.sh (not as root, it includes sudos) to:

  • copy Systemd units templates to system directory
  • enable timer for next reboot
  • NOTE: if you move the script, you need to install again

Issues

Cannot restrict PTR update