<div dir="ltr">I feel <a href="http://kea.isc.org/ticket/5087" class="gmail_msg" target="_blank" style="color:rgb(65,131,196);text-decoration:none">http://kea.isc.org/ticket/5087</a> already summarizes the point.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, 21 Feb 2017 at 11:52 Francis Dupont <<a href="mailto:fdupont@isc.org">fdupont@isc.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Olivier Clavel writes:<br class="gmail_msg">
> After reading the RFC (<a href="https://tools.ietf.org/search/rfc3397" rel="noreferrer" class="gmail_msg" target="_blank">https://tools.ietf.org/search/rfc3397</a>) and<br class="gmail_msg">
> struggling a bit, here is how to work around the problem until the future<br class="gmail_msg">
> enhancement is developed (see ticket below). Please read the rfc if you<br class="gmail_msg">
> need more than one domain. Example below for a single one.<br class="gmail_msg">
><br class="gmail_msg">
> 1 - convert string to hex (conversion tool here:<br class="gmail_msg">
> <a href="http://www.swingnote.com/tools/texttohex.php" rel="noreferrer" class="gmail_msg" target="_blank">http://www.swingnote.com/tools/texttohex.php</a>)<br class="gmail_msg">
><br class="gmail_msg">
> e  x  a  m  p  l  e  .  c  o  m<br class="gmail_msg">
> 65 78 61 6d 70 6c 65 2e 63 6f 6d<br class="gmail_msg">
><br class="gmail_msg">
> 2 - drop the dots, prepend each element with number of chars and finish<br class="gmail_msg">
> with null<br class="gmail_msg">
> 7) e  x  a  m  p  l  e  3) c  o  m  (null)<br class="gmail_msg">
> 07 65 78 61 6d 70 6c 65 03 63 6f 6d 00<br class="gmail_msg">
<br class="gmail_msg">
=> it is DNS wire format, the last 00 stands for the trailing dot.<br class="gmail_msg">
 BTW it can be represented in DHCPv4 by a tuple array (cf Kea 1.2<br class="gmail_msg">
ticket #4070, I note to add this in unit tests) if it is not<br class="gmail_msg">
compressed (compression is explicitly allowed in this option<br class="gmail_msg">
which BTW has for format an array of DNS names).<br class="gmail_msg">
 The DNS names (aka FQDNs) in wired format are supposed to be supported<br class="gmail_msg">
by Kea but it seems only DHCPv6 standard options use it. So please<br class="gmail_msg">
open a ticket.<br class="gmail_msg">
<br class="gmail_msg">
Thanks<br class="gmail_msg">
<br class="gmail_msg">
Francis Dupont <<a href="mailto:fdupont@isc.org" class="gmail_msg" target="_blank">fdupont@isc.org</a>><br class="gmail_msg">
</blockquote></div>