[Kea-users] Fwd: is there any way to force kea-dhcp4-server/kea-dhcp-ddns-server to use option 12 instead of option 81?
Thomas Markwalder
tmark at isc.org
Wed Sep 6 17:09:17 UTC 2023
Hello again:
Minor correction to the expression provided previously:
"hostname-expr" : "ifelse(option[12].exists,
option[host-name].text, option[81].text)"
-------- Forwarded Message --------
Content-Type: multipart/alternative;
boundary="------------1bz3J9yBNaIOMuLvrjSvZVDW"
Message-ID: <722f6ec3-9e4c-0a23-d596-39d3555b732a at isc.org>
Date: Wed, 6 Sep 2023 09:53:50 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Subject: Re: [Kea-users] is there any way to force
kea-dhcp4-server/kea-dhcp-ddns-server to use option 12 instead of option
81?
To: kea-users at lists.isc.org
References:
<PH0PR13MB6017338D089B62C09B23344986EFA at PH0PR13MB6017.namprd13.prod.outlook.com>
Content-Language: en-US
From: Thomas Markwalder <tmark at isc.org>
In-Reply-To:
<PH0PR13MB6017338D089B62C09B23344986EFA at PH0PR13MB6017.namprd13.prod.outlook.com>
Hello:
This can be done via our premium DDNS Tuning hook library:
https://kea.readthedocs.io/en/latest/arm/hooks.html#libdhcp-ddns-tuning-so-ddns-tuning
which allows you to define hostname expression. You would do something
similar to this:
"hostname-expr" : "ifelse(option[host-name].exists, option[host-name],
option[81])"
On 9/6/23 09:23, Marc Richman wrote:
> Our windows systems are populating option 81 with <hostname>.<domain>
> but the DNS records should be <hostname>.<site>.<domain>
> this causes the A records to look like the
> following <hostname>.<domain> . <hostname>.<site>.<domain>
>
> I can't find any way to get the kea servers to use the unqualified
> option 12
>
> anybody have any thoughts on how to fix this?
>
>
> Thanks
> Marc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/kea-users/attachments/20230906/f214cf1d/attachment-0001.htm>
More information about the Kea-users
mailing list