Hi Christian, DNS updates are performed by the kea-dhcp-ddns (aka d2) process on receipt a "Name Change Request" (NCR). You would need to change the ip address in the NCR sent from Kea to enable sort of behaviour. The behavioral parameters for ddns in kea-dhcp4 configuration are: • ddns-send-updates • ddns-override-no-update • ddns-override-client-update • ddns-replace-client-name • ddns-generated-prefix • ddns-qualifying-suffix • ddns-update-on-renew • ddns-use-conflict-resolution • hostname-char-set • hostname-char-replacement
There does not appear to be a parameter that could be used to change the IP address in an NCR. Kind Regards Peter ________________________________ From: Kea-users <[email protected]> on behalf of BÖSCH Christian <[email protected]> Sent: 02 November 2021 14:54 To: [email protected] <[email protected]> Subject: [Kea-users] ddns rev. zones and required client class Hi, I want to migrate from isc to kea and I've kea 2.0 installed. I have 2 questions about this: 1. I have consolidated the ddns rev. zones and have set in isc's config: ddns-rev-domainname "128-191.21.172.in-addr.arpa."; Is there not this option in kea to explicit specify a custom rev. zone? 2. I'm trying that only hosts with reservations get a lease and have configured the following below. One way with all known clients, and the other with the assigned client-class to the reservation. But if I test in both cases with a client without reservation it also gets an IP address. Am I doing something wrong here? .... "reservations": [ { "hw-address": "11:22:33:44:55:66", "client-classes": [ "reservation" ], "hostname": "test-host" } ], "client-classes": [ { "name": "all-with-reservation", "test": "member('KNOWN')", "only-if-required": true }, { "name": "reservation", "only-if-required": true } ], "subnet4": [ { "id": 151, "subnet": "172.21.151.0/24", "pools": [ { "pool": "172.21.151.5-172.21.151.254" } ], // all known "require-client-classes": [ "all-with-reservation"], // class assigned to reservation //"require-client-classes": [ "reservation"], } .... Thanks, Christian
_______________________________________________ ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. To unsubscribe visit https://lists.isc.org/mailman/listinfo/kea-users. Kea-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/kea-users
