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

2013-03-26 Thread Jim Bucks
Problem. === I'm working on getting a DHCP / Bind / DDNS server set up. When a client receives an IP address "lease", I want the forward / reverese "zones" files updated so name lookups behave appropriately / as expected. After a couple

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

2013-03-26 Thread Graham Clinch
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 > : bad DNS key > dhcpd: unable to add reverse map from 51.20.10.172.in-addr.arpa. to > pr

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

2013-03-26 Thread Jim Bucks
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 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 dn

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

2013-03-26 Thread Mark Andrews
In message , 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 d

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

2013-03-28 Thread Jim Bucks
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

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

2013-03-28 Thread Sten Carlsen
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

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

2013-03-28 Thread Jim Bucks
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

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

2013-03-28 Thread Jim Glassford
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. { primary 172.10.20.101; <- change from 127.0.0.1 key DHCP_UPDATER; } best! jim On 3/28/2013 1:31

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

2013-03-28 Thread Jim Bucks
Here's from a recent re-start of the named service. There were no additional log entries when the dhcp service granted the lease and failed to update the "zones" files. Mar 28 11:38:15 dns04 named-sdb[3493]: received control channel command 'stop' Mar 28 11:38:15 dns04 named-sdb[3493]: shutting d

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

2013-03-28 Thread Jim Bucks
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 wrote: > Hi Jim, > > Lost track bu

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

2013-03-28 Thread Alan Clegg
I'm completely unable to fix the top-post/body comments here, so my comments are at the bottom: On Mar 28, 2013, at 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

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

2013-03-28 Thread Jim Glassford
Hi Jim, No, sorry, wrong IP address, the real IP address of the dns server, not the client. zone 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

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

2013-03-28 Thread Jim Bucks
Either way, "network unreachable" is a > big problem, even if it's from a minor typo in a notify-related clause in > the config file. > > HtH, > > Len > > -- > *From:* Jim Bucks > *To:* Niall O'Reilly ; bind-users@list

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

2013-03-28 Thread Jim Bucks
Hi All (sorry for the top-posting) Alan - thanks for the link. I'll be checking it out / looking it over. Jim, Based on the nsupdate output (below), it looks like I've hosed up something in my "key". I used the key string from the .private key file (I've found some search results that say

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

2013-03-28 Thread Jim Bucks
Hi All, Alan, I looked that doc over and the only thing I found different than what I used the key string from the .private key file. Jim, thanks for the nsupdate pointer. I've never had to delve into that level of debugging. When using nsupdate, I was able to update the forward and reverse zon

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

2013-03-28 Thread Jim Glassford
Hi Jim, Looking at your config files, believe the keys do not match in named.conf and dhcpd.conf but maybe they were adjusted for the posting to the list. Alan Clegg's link shows creating the key and adding it to the files and also some nsupdate examples. Would want like the following, only

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

2013-03-28 Thread Jim Bucks
Hi Jim, Shouldn't there be quotes around the key string in the named .conf file? I have quotes around mine in named.conf. I do not have quotes around the key string in the dhcpd.conf. If this is correct, I've made sure they match (I was trying to "genericize" the key string before), but not any

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

2013-03-29 Thread Jim Bucks
After working on this some more overnight. I can add records interactively via nsupdate (as shown below). But, cannot get the same results from an ipconfig /release & /renew from a workstation. I am totally stumped at this point. Any ideas (and yes, I did do over the "semicomplete" URL prov

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

2013-03-29 Thread Steven Carr
On 29 March 2013 12:19, Jim Bucks wrote: > Any ideas (and yes, I did do over the "semicomplete" URL provided by > ?Alex?"). The only difference I can see is that I used a 512 bit key vs the > examples 128bit key. And, I'm using a slaves/ directory vs internal/ > directory for the "zones" files.

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

2013-03-29 Thread Mark Elkins
Try using a more simple MD5, short key. Seem to remember that DHCP doesn't like non-MD5 keys (eg SHA) There was also some sort of length bug? - try 128 bit length. On Fri, 2013-03-29 at 06:19 -0600, Jim Bucks wrote: > After working on this some more overnight. > > I can add records interac

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

2013-03-29 Thread Jim Bucks
On Fri, Mar 29, 2013 at 6:39 AM, Mark Elkins wrote: > Try using a more simple MD5, short key. > > Seem to remember that DHCP doesn't like non-MD5 keys (eg SHA) > There was also some sort of length bug? - try 128 bit length. > > On Fri, 2013-03-29 at 06:19 -0600, Jim Bucks wrote: > > After working

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

2013-03-29 Thread Jim Bucks
On Fri, Mar 29, 2013 at 10:02 AM, Steven Carr wrote: > On 29 March 2013 14:57, Jim Bucks wrote: > > I just noticed (has been there all along), that the subdomain is not > showing > > up in the "automated" unable to line. > > I want it to add dhcp-172-10-20-101.dhcp.coloradostudios.com >

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

2013-03-29 Thread Doug Barton
On 03/29/2013 05:39 AM, Mark Elkins wrote: Try using a more simple MD5, short key. Seem to remember that DHCP doesn't like non-MD5 keys (eg SHA) There was also some sort of length bug? - try 128 bit length. The ARM explains this correctly. It has to be HMAC-MD5, but the 512 length is just fin