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

Jim Glassford jmglass at iup.edu
Thu Mar 28 18:03:37 UTC 2013


Hi Jim,

No, sorry, wrong IP address, the real IP address of the dns server, not 
the client.

zone dhcp.coloradostudios.com <http://dhcp.coloradostudios.com>. {
    primary your_dns_server_IP_address; <----- change from 127.0.0.1
    key DHCP_UPDATER;
}

Also do you have a /var/log/named.log file or debug log file for named, 
other than messages, might have more information.
Can try nsupdate with debug to see if this gives any clue also.
nsupdate -d
 > server your_dns_server_here
 > key  your_key_here
 > update add 101.20.10.172.in-addr.arpa. 3600 in ptr 
dhcp-172-10-20-101.coloradostudios.com 
<http://dhcp-172-10-20-101.coloradostudios.com>.
 >  do extra CR to get it to go

should see lots of debug information here
 >
 > quit

man nsupdate

best!
jim

On 3/28/2013 1:52 PM, Jim Bucks wrote:
> No I have not tried that, but .101 is a leased IP address for a 
> Windows workstation.
>
> I'm willing to try it, but it seems like that would mean I would need 
> a zone like this for all of my leased addresses???
>
>
> Jim
>
> On Thu, Mar 28, 2013 at 11:42 AM, Jim Glassford <jmglass at iup.edu 
> <mailto:jmglass at iup.edu>> wrote:
>
>     Hi Jim,
>
>     Lost track but have you tried using the IP address of the server
>     for the primary, 172.10.20.101 instead of 127.0.0.1?
>
>     zone dhcp.coloradostudios.com <http://dhcp.coloradostudios.com>. {
>        primary 172.10.20.101; <----- change from 127.0.0.1
>        key DHCP_UPDATER;
>     }
>
>
>     best!
>     jim
>
>
>     On 3/28/2013 1:31 PM, Jim Bucks wrote:
>>     Hi Sten,
>>
>>     Thanks for the response,  I only dabble in DNS setups every 5
>>     years (or so).  I really thought this would be a "no brainer",
>>     and most likely have some simple command / syntax error causing
>>     all of this.
>>
>>     From /var/log/messages
>>
>>     Mar 28 11:22:57 dns04 dhcpd: DHCPOFFER on 172.10.20.101 to
>>     00:0b:cd:33:b6:49 (proccilapxp) via eth1
>>     Mar 28 11:22:57 dns04 dhcpd: Unable to add forward map from
>>     dhcp-172-10-20-101.coloradostudios.com
>>     <http://dhcp-172-10-20-101.coloradostudios.com> to 172.10.20.101
>>     <http://172.10.20.101>: timed out
>>     Mar 28 11:22:57 dns04 dhcpd: DHCPREQUEST for 172.10.20.101
>>     (172.10.5.5) from 00:0b:cd:33:b6:49 (proccilapxp) via eth1
>>     Mar 28 11:22:57 dns04 dhcpd: DHCPACK on 172.10.20.101 to
>>     00:0b:cd:33:b6:49 (proccilapxp) via eth1
>>
>>
>>     On Thu, Mar 28, 2013 at 11:26 AM, Sten Carlsen
>>     <stenc at s-carlsen.dk <mailto:stenc at s-carlsen.dk>> wrote:
>>
>>         Apparently the DHCP server tries to put the change into BIND
>>         but times out. What does the named log tell about this?
>>
>>         Either it did see the request or it will have an explanation
>>         why it won't do it.
>>
>>         On 28/03/13 18:18, Jim Bucks wrote:
>>>         Hi Mark, Graham, & others.
>>>
>>>         I've spent the last day trying all sorts of things to get
>>>         this working (to no avail).  I'm still at the stage of DHCP
>>>         offering the lease IP address, but the DNS is not
>>>         automatically updating the two "zones" files with the newly
>>>         leased addresses.
>>>
>>>         Here is a grief summary of what I tried/changed.
>>>            - Added the group named to the dhcpd user
>>>            - moved the two zones files into
>>>         /var/named/chroot/var/named/slaves/  (was internal/)
>>>            - added ENABLE_ZONE_WRITE=yes to /etc/sysconfig/named
>>>            - grabbed a current version named.conf file and added the
>>>         bare minimum config into into it.
>>>
>>>         Attached are my configs.
>>>
>>>         Any ideas on what I've hosed up?
>>>
>>>         Thanks,
>>>
>>>         Jim
>>>
>>>
>>>
>>>         -- 
>>>         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
>>>         <tel:303-388-8500>
>>>         jbucks at coloradostudios.com
>>>         <mailto:jbucks at coloradostudios.com>    Direct 303-542-5520
>>>         <tel:303-542-5520>
>>>
>>>
>>>         _______________________________________________
>>>         Please visithttps://lists.isc.org/mailman/listinfo/bind-users  to unsubscribe from this list
>>>
>>>         bind-users mailing list
>>>         bind-users at lists.isc.org  <mailto:bind-users at lists.isc.org>
>>>         https://lists.isc.org/mailman/listinfo/bind-users
>>
>>         -- 
>>         Best regards
>>
>>         Sten Carlsen
>>
>>         No improvements come from shouting:
>>
>>                 "MALE BOVINE MANURE!!!"
>>
>>
>>         _______________________________________________
>>         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 <mailto:bind-users at lists.isc.org>
>>         https://lists.isc.org/mailman/listinfo/bind-users
>>
>>
>>
>>
>>     -- 
>>     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
>>     <tel:303-388-8500>
>>     jbucks at coloradostudios.com <mailto:jbucks at coloradostudios.com>   
>>     Direct 303-542-5520 <tel:303-542-5520>
>>
>>
>>     _______________________________________________
>>     Please visithttps://lists.isc.org/mailman/listinfo/bind-users  to unsubscribe from this list
>>
>>     bind-users mailing list
>>     bind-users at lists.isc.org  <mailto:bind-users at lists.isc.org>
>>     https://lists.isc.org/mailman/listinfo/bind-users
>
>
>     _______________________________________________
>     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 <mailto:bind-users at lists.isc.org>
>     https://lists.isc.org/mailman/listinfo/bind-users
>
>
>
>
> -- 
> 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 <mailto:jbucks at coloradostudios.com>         
>    Direct 303-542-5520 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130328/e82d4b96/attachment.html>


More information about the bind-users mailing list