ddns not updated when client is changed to fixed ip
name: Bug report
about: ddns not updated when client is changed to fixed ip
Describe the bug
When a client gets an IP from the pool, but then the configuration changes to be of fixed type, the DDNS record is not updated.
To Reproduce Steps to reproduce the behavior:
- Run Kea dhcpv4 with:
"ddns-send-updates": true,
"dhcp-ddns": {
"enable-updates": true
},
"subnet4": [
{
"pools": [
{
"pool": "172.20.73.165 - 172.20.73.190"
}
],
}
]
And ddns setup. 2. A client gets an IP 3. Change the server config to include:
"reservations": [
{
"hw-address": "ab:cd:ef:ef:cd:ab",
"ip-address": "172.20.1.1"
},
hw-address is of the client in question 4. DDNS is not updated when the client ip changes
Expected behavior
The client will get the newly static reservation, but the DDNS record is not updated
Environment:
- Kea version: keactrl: 2.4.1 kea-dhcp4: 2.4.1 kea-dhcp6: 2.4.1 kea-dhcp-ddns: 2.4.1 kea-ctrl-agent: 2.4.1
- OS: NixOS
- hooks loaded: libdhcp_lease_cmds.so libdhcp_stat_cmds.so