Looking for a pointer on getting reverse mapping with DDNS to work with DHCPD & Named.

Mark Andrews marka at isc.org
Tue Mar 26 23:35:06 UTC 2013


In message <CAMZ8b4edUPZJe_UqESPzQvS-OqWpy6Hj2wASz9eL397GEn09Yg at mail.gmail.com>
, Jim Bucks writes:
> 
> Thanks Graham,
> 
> I appreciate the hints.  However, I'm still having problems (after finding
> a few more "how-to's").  Any other pointers / tips on what to look for?
> 
> Jim

	Fix the view to accept traffic from 127.0.0.1.
 
> Mar 26 14:18:24 dns04 dhcpd: DHCPRELEASE of 172.10.20.51 from
> 00:0b:cd:33:b6:49 (proccilapxp) via eth1 (found)
> Mar 26 14:18:31 dns04 dhcpd: DHCPDISCOVER from 00:0b:cd:33:b6:49 via eth1
> Mar 26 14:18:32 dns04 dhcpd: DHCPOFFER on 172.10.20.51 to 00:0b:cd:33:b6:49
> (proccilapxp) via eth1
> Mar 26 14:18:32 dns04 dhcpd: Unable to add forward map from
> proccilapxp.dhcp.coloradostudios.com. to 172.10.20.51: not authorized
> Mar 26 14:18:32 dns04 dhcpd: DHCPREQUEST for 172.10.20.51 (172.10.5.5) from
> 00:0b:cd:33:b6:49 (proccilapxp) via eth1
> Mar 26 14:18:32 dns04 dhcpd: DHCPACK on 172.10.20.51 to 00:0b:cd:33:b6:49
> (proccilapxp) via eth1
> 
> 
> 
> On Tue, Mar 26, 2013 at 8:52 AM, Graham Clinch <g.clinch at lancaster.ac.uk>wrot
> e:
> 
> > Hi Jim,
> >
> > > I'm getting either of the following errors:
> > > dhcpd: unable to add reverse map from 51.20.10.172.in-addr.arpa. to
> > > proccilapxp.dhcp.coloradostudios.com
> > > <http://proccilapxp.dhcp.coloradostudios.com>: bad DNS key
> > > dhcpd: unable to add reverse map from 51.20.10.172.in-addr.arpa. to
> > > proccilapxp.dhcp.coloradostudios.com
> > > <http://proccilapxp.dhcp.coloradostudios.com>: timed out
> >
> > it's actually the line above those :)
> >
> > > Mar 26 07:56:59 dns04 dhcpd: db.172.10.20.: host unknown.
> >
> > which is caused by the zone statements in dhcpd.conf:
> >
> > > zone 20.10.172.in-addr.arpa. {
> > >    primary db.172.10.20.;
> > >    key DHCP_UPDATER;
> > >    #file "internal/db.172.10.20";
> > > }
> >
> > 'primary' should be the address of the DNS server to send the update
> > message to (not the filename of the zone - dhcpd asks the nameserver to
> > make the updates on its behalf, it doesn't alter the zone file itself).
> >
> > so you probably want:
> >
> > zone 20.10.172.in-addr.arpa. {
> >    primary 127.0.0.1;
> >    key DHCP_UPDATER;
> >    #file "internal/db.172.10.20";
> > }
> >
> > (and similar a change for the forward zone).
> >
> > Graham
> >
> > --
> > Graham Clinch
> > Systems Programmer,
> > Information Systems Services,
> > Lancaster University
> >
> >
> 
> 
> -- 
> Jim Bucks - IT Director
> Colorado Studios <http://www.coloradostudios.com>, Mobile TV
> Group<http://www.mobiletvgroup.com>,
> HDNet <http://www.hd.net>, AXS.tv <http://www.axs.tv/>
> 8269 E. 23rd Ave. Denver, CO 80238 Main  303-388-8500
> jbucks at coloradostudios.com            Direct 303-542-5520
> 
> --089e0160c8204ab3a904d8d9a9c4
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
> 
> Thanks Graham,<br><br>I appreciate the hints.=A0 However, I'm still hav=
> ing problems (after finding a few more "how-to's").=A0 Any ot=
> her pointers / tips on what to look for?<br><br>Jim<br><br><br>Mar 26 14:18=
> :24 dns04 dhcpd: DHCPRELEASE of 172.10.20.51 from 00:0b:cd:33:b6:49 (procci=
> lapxp) via eth1 (found)<br>
> Mar 26 14:18:31 dns04 dhcpd: DHCPDISCOVER from 00:0b:cd:33:b6:49 via eth1<b=
> r>Mar 26 14:18:32 dns04 dhcpd: DHCPOFFER on 172.10.20.51 to 00:0b:cd:33:b6:=
> 49 (proccilapxp) via eth1<br>Mar 26 14:18:32 dns04 dhcpd: Unable to add for=
> ward map from <a href=3D"http://proccilapxp.dhcp.coloradostudios.com">procc=
> ilapxp.dhcp.coloradostudios.com</a>. to <a href=3D"http://172.10.20.51">172=
> .10.20.51</a>: not authorized<br>
> Mar 26 14:18:32 dns04 dhcpd: DHCPREQUEST for 172.10.20.51 (172.10.5.5) from=
>  00:0b:cd:33:b6:49 (proccilapxp) via eth1<br>Mar 26 14:18:32 dns04 dhcpd: D=
> HCPACK on 172.10.20.51 to 00:0b:cd:33:b6:49 (proccilapxp) via eth1<br><br>
> <br><br><div class=3D"gmail_quote">On Tue, Mar 26, 2013 at 8:52 AM, Graham =
> Clinch <span dir=3D"ltr"><<a href=3D"mailto:g.clinch at lancaster.ac.uk" ta=
> rget=3D"_blank">g.clinch at lancaster.ac.uk</a>></span> wrote:<br><blockquo=
> te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
> lid;padding-left:1ex">
> Hi Jim,<br>
> <br>
> > I'm getting either of the following errors:<br>
> > dhcpd: unable to add reverse map from 51.20.10.172.in-addr.arpa. to<br=
> >
> > <a href=3D"http://proccilapxp.dhcp.coloradostudios.com" target=3D"_bla=
> nk">proccilapxp.dhcp.coloradostudios.com</a><br>
> > <<a href=3D"http://proccilapxp.dhcp.coloradostudios.com" target=3D"=
> _blank">http://proccilapxp.dhcp.coloradostudios.com</a>>: bad DNS key<br=
> >
> > dhcpd: unable to add reverse map from 51.20.10.172.in-addr.arpa. to<br=
> >
> > <a href=3D"http://proccilapxp.dhcp.coloradostudios.com" target=3D"_bla=
> nk">proccilapxp.dhcp.coloradostudios.com</a><br>
> > <<a href=3D"http://proccilapxp.dhcp.coloradostudios.com" target=3D"=
> _blank">http://proccilapxp.dhcp.coloradostudios.com</a>>: timed out<br>
> <br>
> it's actually the line above those :)<br>
> <br>
> > Mar 26 07:56:59 dns04 dhcpd: db.172.10.20.: host unknown.<br>
> <br>
> which is caused by the zone statements in dhcpd.conf:<br>
> <br>
> > zone 20.10.172.in-addr.arpa. {<br>
> > =A0 =A0primary db.172.10.20.;<br>
> > =A0 =A0key DHCP_UPDATER;<br>
> > =A0 =A0#file "internal/db.172.10.20";<br>
> > }<br>
> <br>
> 'primary' should be the address of the DNS server to send the updat=
> e<br>
> message to (not the filename of the zone - dhcpd asks the nameserver to<br>
> make the updates on its behalf, it doesn't alter the zone file itself).=
> <br>
> <br>
> so you probably want:<br>
> <br>
> zone 20.10.172.in-addr.arpa. {<br>
> =A0 =A0primary 127.0.0.1;<br>
> =A0 =A0key DHCP_UPDATER;<br>
> =A0 =A0#file "internal/db.172.10.20";<br>
> }<br>
> <br>
> (and similar a change for the forward zone).<br>
> <span class=3D"HOEnZb"><font color=3D"#888888"><br>
> Graham<br>
> <br>
> --<br>
> Graham Clinch<br>
> Systems Programmer,<br>
> Information Systems Services,<br>
> Lancaster University<br>
> <br>
> </font></span></blockquote></div><br><br clear=3D"all"><br>-- <br>Jim Bucks=
>  - IT Director=A0=A0=A0=A0=A0         <br><a href=3D"http://www.coloradostu=
> dios.com" target=3D"_blank">Colorado Studios</a>,
> <a href=3D"http://www.mobiletvgroup.com" target=3D"_blank"> Mobile TV Group=
> </a>, <a href=3D"http://www.hd.net" target=3D"_blank">HDNet</a>,  <a href=
> =3D"http://www.axs.tv/" target=3D"_blank">AXS.tv</a><br>8269 E. 23rd Ave.  =
>  Denver, CO 80238  Main=A0 303-388-8500
> <br><a href=3D"mailto:jbucks at coloradostudios.com" target=3D"_blank">jbucks@=
> coloradostudios.com</a>=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0          Direct 303-=
> 542-5520
> 
> --089e0160c8204ab3a904d8d9a9c4--
> 
> --===============7422441626426283376==
> Content-Type: text/plain; charset="us-ascii"
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> 
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> --===============7422441626426283376==--
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list