Dynamic DNS in options are not in example DHCPv4 configuration file
Describe the bug Options relating to DDNS in DHCPv4 are not present in the included examples. To get DDNS working with Kea, I had to manually look up and add options like this
"dhcp-ddns": {
"enable-updates": true,
},
"ddns-qualifying-suffix": "ddns.restless.systems",
DDNS is methoded in other places, but none of the actual config stanzas appear to be in the file, nor is there a conscience guide showing which flags need to be set, as well as having clients. Furthermore, default behavior is not well documented. For instance, without ddns-qualifying-suffix, my client sent a hostname of "kali", and Kea DHCP attempted to do a UPDATE with that hostname as is.
That could easily leave to unexpected behavior, and security concerns and should be clearly documented.
Expected behavior
- Clearer documentation on what must be set in DHCP4 (and 6) for DDNS
- Better documentation on default behaviors Environment:
- Kea version: which release? if it's compiled from git, which revision. Use kea-dhcp4 -V to find out.
- OS: [e.g. Ubuntu 16.04 x64]
- Which features were compiled in (in particular which backends)
- If/which hooks where loaded in
Environment:
- Kea version: 2.2.0, compiled from tarball on site
- Ubuntu 22.04.1
Additional Information This was done as part of a livestream learning how to use Kea, documenting this behavior.
Contacting you GitLab is fine, can provide more ways if needed.