[Kea-users] Force DDNS update for all clients and use MAC in DNS?
Jan Schermer
jan at schermer.cz
Mon Jan 4 14:22:51 UTC 2016
Hello,
I just started using Kea and there are two things I am missing.
The clients are (mostly) IPMI BMCs - udhcp seems to be popular here as a client - and they don't appear to be sending any "hostname" part in the request.
1) While running "dhclient" from a linux box registers the address in DDNS, those embedded clients do not.
For IPMI BMCs this is in logs:
2015-12-16 12:29:28.170 DEBUG [kea-dhcp4.ddns/2883] DHCP4_NCR_CREATE [hwtype=1 00:25:90:87:a3:15], cid=[01:00:25:90:87:a3:15], tid=0xac284f2d: DDNS updates enabled, therefore sending name change requests
But no NCR is generated.
For dhclient:
2015-12-16 13:56:51.517 DEBUG [kea-dhcp4.ddns/10645] DHCP4_NCR_CREATE [hwtype=1 52:54:00:53:af:22], cid=[no info], tid=0xb13b5550: DDNS updates enabled, therefore sending name change requests
2015-12-16 13:56:51.518 DEBUG [kea-dhcp4.ddns/10645] DHCP4_QUEUE_NCR name change request to add DNS entry queued: Type: 0 (CHG_ADD)
...
And the NCR is created and sent
Is this a bug or is it intentional? Is there a way to force it for all clients?
2) I'd like the DNS entry to contain the MAC of the client like this
ipmi-FEEDBEEFFACE.myorg.domain
Is this possible without writing my own "hook" library? Or will it be possible in the future?
Thanks
Jan
More information about the Kea-users
mailing list