<div dir="ltr">After staring at this for days, I throw myself at the feet of the list and beg for enlightenment.<div><br></div><div>ISC DHCP 4.2.5 on Centos 7, + BIND 9.9.4-RedHat-9.9.4-18.el7_1.1 (Extended Support Version)</div><div><br></div><div>relevant bits of dhcpd.conf:</div><div><div>  ddns-update-style interim;</div><div>  ignore client-updates;</div><div>  update-static-leases on;</div><div>  update-conflict-detection false;</div></div><div><br></div><div>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).</div><div><br></div><div>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.</div><div><br></div><div>Log snippets:</div><div>a)  from the dhcp server.  To me this looks pretty good.  10.xxx.145.177 is the addr of the server.</div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div>Jul 21 14:05:10 dns2 dhcpd: DHCPREQUEST for 10.xxx.145.177 from f0:1f:af:ce:d9:34 via 10.xxx.144.3</div><div>Jul 21 14:05:10 dns2 dhcpd: DHCPACK on 10.xxx.145.177 to f0:1f:af:ce:d9:34 (supreme) via 10.xxx.144.3</div><div>Jul 21 14:05:10 dns2 dhcpd: DHCPREQUEST for 10.xxx.145.177 from f0:1f:af:ce:d9:34 (supreme) via 10.xxx.144.2</div><div>Jul 21 14:05:10 dns2 dhcpd: Added new forward map from <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a> to 10.xxx.145.177</div><div>Jul 21 14:05:10 dns2 dhcpd: Added reverse map from 177.145.xxx.10.in-addr.arpa. to <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a></div><div>Jul 21 14:05:10 dns2 dhcpd: bind update on 10.xxx.145.177 got ack from partner: xid mismatch.</div><div><br></div><div>b) from the dns server's updates logging.  Also looks ok to me:</div><div>21-Jul-2015 14:05:10.479 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': update unsuccessful: <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>: 'name not in use' prerequisite not satisfied (YXDOMAIN)</div><div>21-Jul-2015 14:05:10.496 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': update unsuccessful: <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>: 'name not in use' prerequisite not satisfied (YXDOMAIN)</div><div>21-Jul-2015 14:05:10.508 update-security: info: client 10.xxx.21.46#56082/key lpdev.key: signer "lpdev.key" approved</div><div>21-Jul-2015 14:05:10.508 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': deleting rrset at '<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>' TXT</div><div>21-Jul-2015 14:05:10.508 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': adding an RR at '<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>' TXT</div><div>21-Jul-2015 14:05:10.508 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': deleting rrset at '<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>' A</div><div>21-Jul-2015 14:05:10.508 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '<a href="http://lpdev.foo.com/IN">lpdev.foo.com/IN</a>': adding an RR at '<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>' A</div><div>21-Jul-2015 14:05:10.532 update-security: info: client 10.xxx.21.46#56082/key lpdev.key: signer "lpdev.key" approved</div><div>21-Jul-2015 14:05:10.532 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '145.xxx.10.in-addr.arpa/IN': deleting rrset at '177.145.xxx.10.in-addr.arpa' PTR</div><div>21-Jul-2015 14:05:10.532 update: info: client 10.xxx.21.46#56082/key lpdev.key: updating zone '145.xxx.10.in-addr.arpa/IN': adding an RR at '177.145.xxx.10.in-addr.arpa' PTR</div><div><br></div><div>c)  here's the lease.  Things still match up.</div><div><div>lease 10.xxx.145.177 {</div><div>  starts 2 2015/07/21 18:05:10;</div><div>  ends 3 2015/07/22 18:05:10;</div><div>  tstp 4 2015/07/23 06:05:10;</div><div>  tsfp 4 2015/07/23 06:05:10;</div><div>  atsfp 4 2015/07/23 06:05:10;</div><div>  cltt 2 2015/07/21 18:05:10;</div><div>  binding state active;</div><div>  next binding state expired;</div><div>  hardware ethernet f0:1f:af:ce:d9:34;</div><div>  uid "\001\360\037\257\316\3314";</div><div>  set ddns-rev-name = "177.145.xxx.10.in-addr.arpa.";</div><div>  set ddns-txt = "313e29237150b143ecae66d87b9f881997";</div><div>  set ddns-fwd-name = "<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>";</div><div>  client-hostname "supreme";</div><div>}</div></div><div><br></div><div>Now the kicker:  dig -t any <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>.  The TXT record is the same as the lease, but the IP is 157.yyy.6.171 -- not 10.xxx.145.177.</div><div><br></div><div>; <<>> DiG 9.9.4-RedHat-9.9.4-18.el7_1.1 <<>> -t any <a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a></div><div>;; global options: +cmd</div><div>;; Got answer:</div><div>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27655</div><div>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 4, ADDITIONAL: 7</div><div><br></div><div>;; OPT PSEUDOSECTION:</div><div>; EDNS: version: 0, flags:; udp: 4096</div><div>;; QUESTION SECTION:</div><div>;<a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>. IN   ANY</div><div><br></div><div>;; ANSWER SECTION:</div><div><a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>. 900 IN A      157.yyy.6.171</div><div><a href="http://supreme.lpdev.foo.com">supreme.lpdev.foo.com</a>. 900 IN TXT    "319f076f60d81714bcd70f25de57df86b1"</div><div><br></div><div>Any clues will be very much appreciated!</div><div><br></div><div>-Frank<br></div></div><div>--<br></div>Frank Price <br></div></div></div></div></div></div>
</div></div>