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

Graham Clinch g.clinch at lancaster.ac.uk
Tue Mar 26 14:52:27 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 600 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130326/ed74c697/attachment.bin>


More information about the bind-users mailing list