[Kea-users] ddns rev. zones and required client class
Peter Davies
peter.watson.davies at outlook.com
Wed Nov 3 09:12:25 UTC 2021
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 <kea-users-bounces at lists.isc.org> on behalf of BÖSCH Christian <boesch at fhv.at>
Sent: 02 November 2021 14:54
To: kea-users at lists.isc.org <kea-users at lists.isc.org>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20211103/fbf81e88/attachment.htm>
More information about the Kea-users
mailing list