problem updating dynamic dns from isc dhcpd
Cuttler, Brian (HEALTH)
brian.cuttler at health.ny.gov
Thu Feb 5 16:13:34 UTC 2015
Bill,
Thank you, adding the zone info, and fixing the type in the key made a big difference.
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.
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?
Thank you,
Brian
zone 36.57.10.in-addr.arpa. {
primary 199.184.30.15;
key dhcpupdate;
}
zone esp22.wadsworth.org. {
primary 199.184.30.15;
key dhcpupdate;
}
#### default_vlan at ESP, Vlan 22
subnet 10.57.36.0 netmask 255.255.252.0 {
option routers 10.57.36.1;
ddns-domainname = "esp22.wadsworth.org";
ddns-rev-domainname "in-addr.arpa.";
# range 10.57.36.10 10.57.39.254;
pool {
range 10.57.36.10 10.57.39.254;
allow unknown clients;
deny dynamic bootp clients;
# range 10.57.36.10 10.57.39.254;
option domain-name-servers 199.184.30.15, admin.wadsworth.org, bionsc.wadsworth.org, ldap1.wadsworth.org;
# option domain-name-servers 199.184.30.15;
}
}
From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Bill Shirley
Sent: Wednesday, February 04, 2015 11:14 PM
To: dhcp-users at lists.isc.org
Subject: Re: problem updating dynamic dns from isc dhcpd
named.conf:
zone "4.168.192.in-addr.arpa" {
dhcpd.conf
ddns-rev-domainname "in-addr.arpa";
zone 4.168.192.in-addr.arpa. { primary 127.0.0.1; key DHCP_UPDATER; }
HTH,
Bill
On 2/4/2015 4:27 PM, Cuttler, Brian (HEALTH) wrote:
Simon,
Thanks for the zone suggestion in dhcp.
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.
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.
Follow up question.
What is the correct fix for the ddns-rev-domain?
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?
Thanks you,
Brian
-----Original Message-----
From: dhcp-users-bounces at lists.isc.org<mailto:dhcp-users-bounces at lists.isc.org> [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Simon Hobson
Sent: Wednesday, February 04, 2015 3:21 PM
To: Users of ISC DHCP
Subject: Re: problem updating dynamic dns from isc dhcpd
"Cuttler, Brian (HEALTH)" <brian.cuttler at health.ny.gov><mailto:brian.cuttler at health.ny.gov> wrote:
When DHCP attempts to update the DNS tables I get the following error.
Dhcpd: unable to add forward map from host.esp22.wadsworth.org to 10.57.36.36 not found
Do you have zone statements in your dhcpd.conf ?
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.
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org<mailto:dhcp-users at lists.isc.org>
https://lists.isc.org/mailman/listinfo/dhcp-users
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org<mailto:dhcp-users at lists.isc.org>
https://lists.isc.org/mailman/listinfo/dhcp-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150205/da165a01/attachment.html>
More information about the dhcp-users
mailing list