Re: F23 does not renew dhcp leases correctly and corrupts DDNS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, Jan 25, 2016 at 5:39 AM, Dr J Austin <ja@xxxxxxxxxx> wrote:
Jan 25 10:26:38 maui dhcpd: Forward map from paxos.jaa.org.uk to 148.197.29.131 FAILED: Has an address record but no DHCID, not mine.

This message means that the DHCP server checks DNS and finds there is already an A record for paxos.jaa.org.uk, but there is no matching TXT record to show that this A record was made by this DHCP server. For example, my workstation at work:

[comments deleted]
snowcrash.scd.ucar.edu. 3600 IN A 128.117.10.112
snowcrash.scd.ucar.edu. 3600 IN TXT "<long ugly hex string>"

When a workstation comes online and requests an address, the DHCP server will update the DNS, assuming that the TXT record exists and has a value that shows it was made by the same DHCP server that is trying to do an update. The "no DHCID, not mine" message means the A record is there but the TXT record is not, therefore the DHCP server doesn't believe it has the authority to delete the A record and install a new one.

The only way I've found to fix this is to use something like nsupdate(8) to delete the offending A record, then reconnect the workstation. That should cause the correct A and TXT records to be added to DNS. If you have a small zone that doesn't change often, another option might be to get the DNS server to dump the current zone, edit that dumped zone to remove the offending A record, move the ".jnl" file out of the way, put the edited zone file in to the place declared in the "file" parameter for this zone in named.conf, then reload the DNS server. (I can't remember how to get a dump of the zone, but I remember doing it in the past. Since we have a very busy DHCP server at work, I always just use nsupdate(8) to modify the active zone).

--Greg


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux