<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></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 bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Bill,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you, adding the zone info, and fixing the type in the key made a big difference.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">I now have just a couple of machines in the new vlan, on the new dhcp server, but when I attempted to add another machine, I got the “no free leases” message.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Current config contains these lines, specific the the vlan, network I’m working on. I don’t see the error. The first few machines had been in this address range
 before we brought this new dhcpd online, but the latest had not been in that address range before, would not have requested a specific preferred address. Is that related? Can you help point me to the fix?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Brian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">zone 36.57.10.in-addr.arpa. {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">primary 199.184.30.15;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">key dhcpupdate;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">zone esp22.wadsworth.org. {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">primary 199.184.30.15;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">key dhcpupdate;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">#### default_vlan at ESP, Vlan 22<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">subnet 10.57.36.0 netmask 255.255.252.0 {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">option routers 10.57.36.1;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">        ddns-domainname = "esp22.wadsworth.org";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">        ddns-rev-domainname "in-addr.arpa.";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">#        range 10.57.36.10 10.57.39.254;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">        pool {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">                range 10.57.36.10 10.57.39.254;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">                allow unknown clients;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">                deny dynamic bootp clients;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">#                range 10.57.36.10 10.57.39.254;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">        option domain-name-servers 199.184.30.15, admin.wadsworth.org, bionsc.wadsworth.org, ldap1.wadsworth.org;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">#        option domain-name-servers 199.184.30.15;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">        }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext"> dhcp-users-bounces@lists.isc.org [mailto:dhcp-users-bounces@lists.isc.org]
<b>On Behalf Of </b>Bill Shirley<br>
<b>Sent:</b> Wednesday, February 04, 2015 11:14 PM<br>
<b>To:</b> dhcp-users@lists.isc.org<br>
<b>Subject:</b> Re: problem updating dynamic dns from isc dhcpd<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">named.conf:<br>
<span style="color:#993300">        zone "4.168.192.in-addr.arpa"   {</span><br>
<br>
<br>
dhcpd.conf<br>
<span style="color:#993300">ddns-rev-domainname             "in-addr.arpa";  <br>
zone 4.168.192.in-addr.arpa.    { primary 127.0.0.1;    key DHCP_UPDATER; }</span><br>
<br>
HTH,<br>
Bill<br>
<br>
<br>
On 2/4/2015 4:27 PM, Cuttler, Brian (HEALTH) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>Simon,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thanks for the zone suggestion in dhcp.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I think it was a number of issues, zone certainly pointed dhcpd to the correct dns server, I monkeyed a bit with ddns-* particularly when I found that I was able to get the forward record but the reverse came up as 16.36.57.10.106.36.57.10.in-addr.arpa.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Also, looking for mapping information I'd missed an error in the key map section, the "hac-md5" key wasn't working correctly. I'm apparently not as good a touch typist as I'd thought.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Follow up question.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>What is the correct fix for the ddns-rev-domain?<o:p></o:p></pre>
<pre>I've currently got it set to "in-addr.arpa." but that means that all reverse records from all different zones will end up in the same PTR file. Is that typical or is there a better way do to this?<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thanks you,<o:p></o:p></pre>
<pre>Brian<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: <a href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a> [<a href="mailto:dhcp-users-bounces@lists.isc.org">mailto:dhcp-users-bounces@lists.isc.org</a>] On Behalf Of Simon Hobson<o:p></o:p></pre>
<pre>Sent: Wednesday, February 04, 2015 3:21 PM<o:p></o:p></pre>
<pre>To: Users of ISC DHCP<o:p></o:p></pre>
<pre>Subject: Re: problem updating dynamic dns from isc dhcpd<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>"Cuttler, Brian (HEALTH)" <a href="mailto:brian.cuttler@health.ny.gov"><brian.cuttler@health.ny.gov></a> wrote:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<pre>When DHCP attempts to update the DNS tables I get the following error.<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<pre>Dhcpd: unable to add forward map from host.esp22.wadsworth.org to 10.57.36.36 not found<o:p></o:p></pre>
</blockquote>
<pre><o:p> </o:p></pre>
<pre>Do you have zone statements in your dhcpd.conf ?<o:p></o:p></pre>
<pre>If not using secure updates, you can just rely on having the zones correctly set up (correct SOA record) and dhcpd will find the master server from the SOA record. But since you are using signed updates, you must specify zones in dhcpd.conf - the syntax is *almost*, but not quite, identical to that in named.conf.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>dhcp-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><o:p></o:p></pre>
<pre><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>dhcp-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:dhcp-users@lists.isc.org">dhcp-users@lists.isc.org</a><o:p></o:p></pre>
<pre><a href="https://lists.isc.org/mailman/listinfo/dhcp-users">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>