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-39d3555b7...@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@lists.isc.org
References:
<ph0pr13mb6017338d089b62c09b23344986...@ph0pr13mb6017.namprd13.prod.outlook.com>
Content-Language: en-US
From: Thomas Markwalder <tm...@isc.org>
In-Reply-To:
<ph0pr13mb6017338d089b62c09b23344986...@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
--
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
Kea-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/kea-users