<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>DHCPv6 problems with option 39 FQDN parsing</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">HI,</FONT>
<BR><FONT SIZE=2 FACE="Arial">I just downloaded and built the 4.1.0a1 snapshot to test against a (non-ISC and non-Windows) client.</FONT>
<BR><FONT SIZE=2 FACE="Arial">When my client was configured to send option 39 (FQDN), the server attempted to register the name</FONT>
<BR><FONT SIZE=2 FACE="Arial">in DNS, but mangled the name. The problem appears to be in evaluating the length of the host name</FONT>
<BR><FONT SIZE=2 FACE="Arial">component of the FQDN:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">--- common/options.c.bak 2008-03-03 16:15:57.000000000 -0800</FONT>
<BR><FONT SIZE=2 FACE="Arial">+++ common/options.c 2008-03-03 16:55:44.000000000 -0800</FONT>
<BR><FONT SIZE=2 FACE="Arial">@@ -3370,7 +3370,7 @@</FONT>
<BR><FONT SIZE=2 FACE="Arial"> first_dot = (unsigned char *)strchr((char *)bp->data + 3, '.');</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial"> if (first_dot != NULL) {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> - hlen = first_dot - bp->data + 3;</FONT>
<BR><FONT SIZE=2 FACE="Arial">+ hlen = first_dot - (bp->data + 3);</FONT>
<BR><FONT SIZE=2 FACE="Arial"> dlen = len - hlen;</FONT>
<BR><FONT SIZE=2 FACE="Arial"> } else {</FONT>
<BR><FONT SIZE=2 FACE="Arial"> hlen = len;</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I haven't seen this issue reported in this forum before. Am I searching for the wrong terms, or is this something new?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Stephen Tarr</FONT>
</P>
</BODY>
</HTML>