<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
Hello again:<br>
<br>
<div class="moz-forward-container">Minor correction to the
expression provided previously:<br>
<br>
"hostname-expr" : "ifelse(option[12].exists,
option[host-name].text, option[81].text)"<br>
<br>
<br>
<br>
-------- Forwarded Message --------
<table class="moz-email-headers-table" cellspacing="0"
cellpadding="0" border="0">
<tbody>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Content-Type:
</th>
<td>multipart/alternative;
boundary="------------1bz3J9yBNaIOMuLvrjSvZVDW"</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Message-ID:
</th>
<td><a class="moz-txt-link-rfc2396E" href="mailto:722f6ec3-9e4c-0a23-d596-39d3555b732a@isc.org"><722f6ec3-9e4c-0a23-d596-39d3555b732a@isc.org></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Date: </th>
<td>Wed, 6 Sep 2023 09:53:50 -0400</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">MIME-Version:
</th>
<td>1.0</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">User-Agent:
</th>
<td>Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Subject:
</th>
<td>Re: [Kea-users] is there any way to force
kea-dhcp4-server/kea-dhcp-ddns-server to use option 12
instead of option 81?</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">References:
</th>
<td><a class="moz-txt-link-rfc2396E" href="mailto:PH0PR13MB6017338D089B62C09B23344986EFA@PH0PR13MB6017.namprd13.prod.outlook.com"><PH0PR13MB6017338D089B62C09B23344986EFA@PH0PR13MB6017.namprd13.prod.outlook.com></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">Content-Language:
</th>
<td>en-US</td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">From: </th>
<td>Thomas Markwalder <a class="moz-txt-link-rfc2396E" href="mailto:tmark@isc.org"><tmark@isc.org></a></td>
</tr>
<tr>
<th valign="BASELINE" nowrap="nowrap" align="RIGHT">In-Reply-To:
</th>
<td><a class="moz-txt-link-rfc2396E" href="mailto:PH0PR13MB6017338D089B62C09B23344986EFA@PH0PR13MB6017.namprd13.prod.outlook.com"><PH0PR13MB6017338D089B62C09B23344986EFA@PH0PR13MB6017.namprd13.prod.outlook.com></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hello:<br>
<br>
This can be done via our premium DDNS Tuning hook library:<br>
<br>
<a class="moz-txt-link-freetext"
href="https://kea.readthedocs.io/en/latest/arm/hooks.html#libdhcp-ddns-tuning-so-ddns-tuning"
moz-do-not-send="true">https://kea.readthedocs.io/en/latest/arm/hooks.html#libdhcp-ddns-tuning-so-ddns-tuning</a><br>
<br>
which allows you to define hostname expression. You would do
something similar to this:<br>
<br>
"hostname-expr" : "ifelse(option[host-name].exists,
option[host-name], option[81])"<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 9/6/23 09:23, Marc Richman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:PH0PR13MB6017338D089B62C09B23344986EFA@PH0PR13MB6017.namprd13.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Aptos, Aptos_EmbeddedFont,
Aptos_MSFontService, Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<div class="moz-text-html" lang="x-western">
<div style="font-size:12pt" class="ContentPasted0">Our
windows systems are populating option 81 with
<hostname>.<domain> </div>
<div style="font-size:12pt" class="ContentPasted0">but the
DNS records should be
<hostname>.<site>.<domain></div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1">this causes the A records to look like the
following <hostname>.<domain>
. <hostname>.<site>.<domain></div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1"><br class="ContentPasted0">
</div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1">I can't find any way to get the kea
servers to use the unqualified option 12 </div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1"><br class="ContentPasted0">
</div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1">anybody have any thoughts on how to fix
this?</div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1"><br class="ContentPasted0">
</div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1"><br class="ContentPasted0">
</div>
<div style="font-size:12pt" class="ContentPasted0
ContentPasted1"> Thanks</div>
<span style="font-size:12pt" class="ContentPasted0
ContentPasted1"> Marc</span></div>
<br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
</div>
</body>
</html>