Introduction
This page describes how Alexis Huxley installed and configured his DHCP server.
It even supports multiple public FQHNs with the same dynamic DNS provider when each public FQHN has its own username and password (such as is the case with multiple names registered on freemyip.com).
Procedure
- Run:
apt -y install inadyn
- For each (provider, FQHN, username, password) tuple add a crontab entry of the following form:
@reboot inadyn --background --syslog --server-name <provider> \ --username <username> --password <password> --alias <FQHN> \ --server-url /nic/update --system default@dyndns.org
- Reboot.
- Wait a few minutes and then check for errors by running:
grep inadyn /var/log/user.log
- If there is an old dyndns server on the network then stop it.