<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='color:#1F497D'>Yes, I have all the settings you’ve
identified below. And yes, dynamic DNS updates work just fine as soon as I
comment out the “option server.ddns-*” lines from dhcpd.conf. Of
course, then the updates occur using the hostname from the client and the
configured option domain-name value. I have tried with both the 3.0.6 and
3.1.0 servers with a client that sends the FQDN option both in ASCII and binary
encoding. Consistently, as soon as I add the “option server.ddns-*”
settings, no dynamic DNS updates are even attempted.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Are there any additional debug
settings that I can set that may shed some light on the problem?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Greg<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
dhcp-users-bounce@isc.org [mailto:dhcp-users-bounce@isc.org] <b>On Behalf Of </b>Denis
Laventure<br>
<b>Sent:</b> Tuesday, October 14, 2008 9:05 AM<br>
<b>To:</b> dhcp-users@isc.org<br>
<b>Subject:</b> RE: Client domain in FQDN option<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>I don’t know what’s
the problem, I have those 2 lines in my global configuration for my first dhcp
server (v4.0.0) and in a subnet declaration on another dhcp server for a
different network (v3.1.0) and they both work and send ddns updates to my bind
server.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Did you ever get ddns updates to
your dns server? Do you have your zone declaration and secret key in your
dhcpd.conf?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>That’s what I have in my
dhcpd.conf about my ddns setup:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>ddns-update-style interim;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>ddns-updates on;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>option server.ddns-hostname =
option fqdn.hostname;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>option server.ddns-domainname =
option fqdn.domainname;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>key "rndc-key" {<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
algorithm hmac-md5;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>
secret "XXXXXXXXXXXXXXXXXXXXXXXXXX";<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>};<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>zone
zone.org.
{ primary 192.168.10.10; key rndc-key; }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>zone
16.172.in-addr.arpa. { primary
192.168.10.10; key rndc-key; }<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<p class=MsoNormal><span lang=FR-CA style='font-size:12.0pt;color:#1F497D'>Denis
Laventure</span><span lang=FR-CA style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CA style='font-size:12.0pt;color:#1F497D'>Service
des technologies de l'information</span><span lang=FR-CA style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CA style='font-size:12.0pt;color:#1F497D'>Université
du Québec à Chicoutimi</span><span lang=FR-CA style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:#1F497D'><o:p></o:p></span></p>
<p class=MsoNormal><span lang=FR-CA style='font-size:12.0pt;color:#1F497D'>418-545-5011
poste 2380</span><span lang=FR-CA style='font-size:12.0pt;font-family:"Times New Roman","serif";
color:#1F497D'><o:p></o:p></span></p>
</div>
<p class=MsoNormal><span lang=FR-CA style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span
lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> dhcp-users-bounce@isc.org
[mailto:dhcp-users-bounce@isc.org] <b>De la part de</b> Greg.Rabil@ins.com<br>
<b>Envoyé :</b> 13 octobre 2008 14:56<br>
<b>À :</b> dhcp-users@isc.org<br>
<b>Objet :</b> RE: Client domain in FQDN option<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>This looks like what I want, but
I can’t get this configuration to work. Whenever I configure the
following:<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>option server.ddns-hostname =
option fqdn.hostname;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>option server.ddns-domainname =
option fqdn.domainname;<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Then I see no DDNS updates
happening at all on the server. My packet captures show that FQDN Option
81 is configured with a value of ‘client.test.com.’ with the
‘S’ bit set ON. The syslog output from the server indicates
that no DDNS is even attempted. I have configured
‘ddns-update-style interim’.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Is there something else that I
must configure to get this behavior?<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Thanks,<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Greg<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
dhcp-users-bounce@isc.org [mailto:dhcp-users-bounce@isc.org] <b>On Behalf Of </b>Denis
Laventure<br>
<b>Sent:</b> Saturday, October 11, 2008 11:22 AM<br>
<b>To:</b> dhcp-users@isc.org<br>
<b>Subject:</b> RE: Client domain in FQDN option<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='color:#1F497D'>You might want to check <a
href="http://marc.info/?l=dhcp-users&m=115410175622600&w=2">http://marc.info/?l=dhcp-users&m=115410175622600&w=2</a><o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>It works well for me.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Denis<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De :</span></b><span
lang=FR style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
dhcp-users-bounce@isc.org [mailto:dhcp-users-bounce@isc.org] <b>De la part de</b>
Greg.Rabil@ins.com<br>
<b>Envoyé :</b> 10 octobre 2008 17:20<br>
<b>À :</b> dhcp-users@isc.org<br>
<b>Objet :</b> Client domain in FQDN option<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><span lang=FR-CA><o:p> </o:p></span></p>
<p class=MsoNormal>I have a question regarding the domain used for Dynamic DNS
updates. If I read the man page (and the code) correctly, it appears that
the domain portion of the FQDN determined by the server is always taken from
either the configured domain-name option (15) or the ddns-domain-name
policy. The hostname portion of the FQDN is derived from either the
hostname option (12) supplied by the client or the leftmost label of the FQDN
option (81). That is, any domain provided by the client in the FQDN
option (81) is essentially ignored by the server when performing the DDNS
update.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>1. Is that correct?<o:p></o:p></p>
<p class=MsoNormal>2. If so, that does _<i>not</i>_ violate section 4 of
RFC 4702, as all references therein related to this are defined as MAY.
However, I was simply wondering if there was any plans to support additional
behavior in the server to use the client’s notion of the domain, or if there
are any other workarounds that may be available.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks,<o:p></o:p></p>
<p class=MsoNormal>Greg Rabil<o:p></o:p></p>
</div>
</body>
</html>