dhcp gives right IP, but ddns adds wrong one to DNS (Frank Price)

Timothe Litt litt at acm.org
Tue Jul 21 22:27:35 UTC 2015

On 21-Jul-15 17:41, dhcp-users-request at lists.isc.org wrote:
> Message: 1
> Date: Tue, 21 Jul 2015 17:19:30 -0400
> From: Frank Price <fprice at lexmark.com>
> To: Users of ISC DHCP <dhcp-users at lists.isc.org>
> Subject: dhcp gives right IP, but ddns adds wrong one to DNS
> Message-ID:
> 	<CAKQzNueJ61nexhGuQgL1ANvsivZoj1Q+Zsr_p_Z43=VrqdVgMg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> After staring at this for days, I throw myself at the feet of the list and
> beg for enlightenment.
> ISC DHCP 4.2.5 on Centos 7, + BIND 9.9.4-RedHat-9.9.4-18.el7_1.1 (Extended
> Support Version)
> relevant bits of dhcpd.conf:
>   ddns-update-style interim;
>   ignore client-updates;
>   update-static-leases on;
>   update-conflict-detection false;
> I have a server which gets IP from dhcp.  It gets a lease, the IP is set
> properly, it asks for dns updates, and the dns server does ... something
> ... which ends up in it having an A record that is completely wrong (the
> name is right but the IP is wrong).
> Even if I freeze my zone and correct everything, after the TTL for the RR,
> something is setting the A RR back to the incorrect IP.  I am really really
> losing it on this one.
>> This looks like the right thing is happening in the wrong place.

Note that you are attempting to update a private address, but the
response is for a public IP.

Are you using views? Check that you're updating (and querying) the
correct view.   (In bind, it's controlled by an ACL, TSIG key or both.)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4942 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20150721/863a7829/attachment.bin>

More information about the dhcp-users mailing list