F23 does not renew dhcp leases correctly and corrupts DDNS

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

 



I am running an F23 machine (paxos) with a C6.7 dhcp/ddns server (maui) - both fully updated
I have the ability to "RESET" the dhcp/ddns to a default condition on the server(maui)

Aside
I have another F23 client (naxos) that has NOT been fully updated and works correctly
I also have an Android smart phone that works correctly and updates the DNS
whenever it is reconnected or powered up.

Following a "RESET" of the server and a clean boot of an F23 client (paxos)
things are fine - the client (paxos) shows dhclient running with the lease file listed
and server (maui) messages are as shown

First boot from clean - hdclient is running on paxos
/sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-eno1.pid \
-lf /var/lib/NetworkManager/dhclient-37107b25-12bf-4de0-935e-12b9b6062fb4-eno1.lease \
-cf /var/lib/NetworkManager/dhclient-eno1.conf eno1

[root@paxos:~]$ ls -l /var/lib/NetworkManager/dhclient-37107b25-12bf-4de0-935e-12b9b6062fb4-eno1.lease
-rw-r--r--. 1 root root 521 Jan 25 09:54 /var/lib/NetworkManager/dhclient-37107b25-12bf-4de0-935e-12b9b6062fb4-eno1.lease
[root@paxos:~]$ cat /var/lib/NetworkManager/dhclient-37107b25-12bf-4de0-935e-12b9b6062fb4-eno1.lease
default-duid "\000\001\000\001\0368\255;x$\257:~:";
lease {
  interface "eno1";
  fixed-address 148.197.29.130;
  option subnet-mask 255.255.255.0;
  option routers 148.197.29.254;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 148.197.29.5,212.104.130.9;
  option dhcp-server-identifier 148.197.29.5;
  option broadcast-address 148.197.29.255;
  option domain-name "jaa.org.uk";
  renew 1 2016/01/25 21:27:07;
  rebind 2 2016/01/26 06:54:04;
  expire 2 2016/01/26 09:54:04;
}

Associated messages file on server maui
Jan 25 09:54:04 maui dhcpd: DHCPDISCOVER from 78:24:af:3a:7e:3a via eth0
Jan 25 09:54:05 maui dhcpd: DHCPOFFER on 148.197.29.130 to 78:24:af:3a:7e:3a (paxos) via eth0
Jan 25 09:54:05 maui named[29523]: client 148.197.29.5#39074: updating zone 'jaa.org.uk/IN': adding an RR at 'paxos.jaa.org.uk' A
Jan 25 09:54:05 maui named[29523]: client 148.197.29.5#39074: updating zone 'jaa.org.uk/IN': adding an RR at 'paxos.jaa.org.uk' TXT
Jan 25 09:54:05 maui dhcpd: Added new forward map from paxos.jaa.org.uk to 148.197.29.130
Jan 25 09:54:05 maui named[29523]: client 148.197.29.5#55776: updating zone '29.197.148.in-addr.arpa/IN': deleting rrset at '130.29.197.148.in-addr.arpa' PTR
Jan 25 09:54:05 maui named[29523]: client 148.197.29.5#55776: updating zone '29.197.148.in-addr.arpa/IN': adding an RR at '130.29.197.148.in-addr.arpa' PTR
Jan 25 09:54:05 maui dhcpd: added reverse map from 130.29.197.148.in-addr.arpa. to paxos.jaa.org.uk
Jan 25 09:54:05 maui dhcpd: DHCPREQUEST for 148.197.29.130 (148.197.29.5) from 78:24:af:3a:7e:3a (paxos) via eth0
Jan 25 09:54:05 maui dhcpd: DHCPACK on 148.197.29.130 to 78:24:af:3a:7e:3a (paxos) via eth0
####################################################################################################
Reboot here

/sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-eno1.pid -lf \
/var/lib/NetworkManager/dhclient-81ded380-936a-405c-83f2-bfd5b980f69d-eno1.lease \
-cf /var/lib/NetworkManager/dhclient-eno1.conf eno1

[root@paxos:~]$ ls -l /var/lib/NetworkManager/dhclient-81ded380-936a-405c-83f2-bfd5b980f69d-eno1.lease
-rw-r--r--. 1 root root 524 Jan 25 10:26 /var/lib/NetworkManager/dhclient-81ded380-936a-405c-83f2-bfd5b980f69d-eno1.lease
[root@paxos:~]$ cat /var/lib/NetworkManager/dhclient-81ded380-936a-405c-83f2-bfd5b980f69d-eno1.lease
default-duid "\000\001\000\001\0368\264\335x$\257:~:";
lease {
  interface "eno1";
  fixed-address 148.197.29.131;
  option subnet-mask 255.255.255.0;
  option routers 148.197.29.254;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 148.197.29.5,212.104.130.9;
  option dhcp-server-identifier 148.197.29.5;
  option broadcast-address 148.197.29.255;
  option domain-name "jaa.org.uk";
  renew 1 2016/01/25 22:15:10;
  rebind 2 2016/01/26 07:26:38;
  expire 2 2016/01/26 10:26:38;
}

Associated messages file on maui

Jan 25 10:26:37 maui dhcpd: DHCPDISCOVER from 78:24:af:3a:7e:3a via eth0
Jan 25 10:26:38 maui dhcpd: DHCPOFFER on 148.197.29.131 to 78:24:af:3a:7e:3a (paxos) via eth0
Jan 25 10:26:38 maui named[29523]: client 148.197.29.5#56622: updating zone 'jaa.org.uk/IN': update unsuccessful: paxos.jaa.org.uk: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 25 10:26:38 maui named[29523]: client 148.197.29.5#40701: updating zone 'jaa.org.uk/IN': update unsuccessful: paxos.jaa.org.uk/TXT: 'RRset exists (value dependent)' prerequisite not satisfied (NXRRSET)
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.
Jan 25 10:26:38 maui dhcpd: DHCPREQUEST for 148.197.29.131 (148.197.29.5) from 78:24:af:3a:7e:3a (paxos) via eth0
Jan 25 10:26:38 maui dhcpd: DHCPACK on 148.197.29.131 to 78:24:af:3a:7e:3a (paxos) via eth0
Jan 25 10:27:29 maui rpc.mountd[1815]: refused mount request from 148.197.29.131 for /home/.hidden (/): not exported
Jan 25 10:29:30 maui rpc.idmapd[1860]: nss_getpwnam: name '202' does not map into domain 'jaa.org.uk'
####################################################################################################

This is very bad news as the IP address of the client has been changed but
DNS is still pointing to the old IP address!

Things that may be important

1. The name of the lease file is different between the first boot and the second
   dhclient-37107b25-12bf-4de0-935e-12b9b6062fb4-eno1.lease
   dhclient-81ded380-936a-405c-83f2-bfd5b980f69d-eno1.lease

2. The default-duid value in these files is different
   Hence giving the "no DHCID, not mine" error above I assume
   default-duid "\000\001\000\001\0368\255;x$\257:~:";
   default-duid "\000\001\000\001\0368\264\335x$\257:~:";

In the case of the working client (naxos) then the name of the lease file remains the same
between boots and the default-duid is the same within that file

A typical reboot request from the working F23 machine (naxos) is shown here
Jan 25 12:14:50 maui named[25341]: client 148.197.29.5#47180: updating zone 'jaa.org.uk/IN': update unsuccessful: naxos.jaa.org.uk: 'name not in use' prerequisite not satisfied (YXDOMAIN)
Jan 25 12:14:50 maui named[25341]: client 148.197.29.5#53787: updating zone 'jaa.org.uk/IN': deleting rrset at 'naxos.jaa.org.uk' A
Jan 25 12:14:50 maui named[25341]: client 148.197.29.5#53787: updating zone 'jaa.org.uk/IN': adding an RR at 'naxos.jaa.org.uk' A
Jan 25 12:14:50 maui dhcpd: Added new forward map from naxos.jaa.org.uk to 148.197.29.231
Jan 25 12:14:50 maui named[25341]: client 148.197.29.5#41058: updating zone '29.197.148.in-addr.arpa/IN': deleting rrset at '231.29.197.148.in-addr.arpa' PTR
Jan 25 12:14:50 maui named[25341]: client 148.197.29.5#41058: updating zone '29.197.148.in-addr.arpa/IN': adding an RR at '231.29.197.148.in-addr.arpa' PTR
Jan 25 12:14:50 maui dhcpd: added reverse map from 231.29.197.148.in-addr.arpa. to naxos.jaa.org.uk
Jan 25 12:14:50 maui dhcpd: DHCPREQUEST for 148.197.29.231 from 78:24:af:9a:6a:72 (naxos) via eth0
Jan 25 12:14:50 maui dhcpd: DHCPACK on 148.197.29.231 to 78:24:af:9a:6a:72 (naxos) via eth0

3. No DHCPDISCOVER is issued by the client on the working machine naxos

A typical request from a smart phone is shown here
Jan 25 12:20:08 maui named[25341]: client 148.197.29.5#57657: updating zone 'jaa.org.uk/IN': adding an RR at 'android-????????????.jaa.org.uk' A
Jan 25 12:20:08 maui named[25341]: client 148.197.29.5#57657: updating zone 'jaa.org.uk/IN': adding an RR at 'android-????????????.jaa.org.uk' TXT
Jan 25 12:20:08 maui dhcpd: Added new forward map from android-95490d78aa645882.jaa.org.uk to 148.197.29.175
Jan 25 12:20:08 maui named[25341]: client 148.197.29.5#60372: updating zone '29.197.148.in-addr.arpa/IN': deleting rrset at '175.29.197.148.in-addr.arpa' PTR
Jan 25 12:20:08 maui named[25341]: client 148.197.29.5#60372: updating zone '29.197.148.in-addr.arpa/IN': adding an RR at '175.29.197.148.in-addr.arpa' PTR
Jan 25 12:20:08 maui dhcpd: added reverse map from 175.29.197.148.in-addr.arpa. to android-???????????????.jaa.org.uk
Jan 25 12:20:08 maui dhcpd: DHCPREQUEST for 148.197.29.175 from 00:ae:fa:41:eb:3d via eth0
Jan 25 12:20:08 maui dhcpd: DHCPACK on 148.197.29.175 to 00:ae:fa:41:eb:3d (android-?????????????) via eth0

3. Again no DHCPDISCOVER is issued by the smart phone client


I have tried downgrading the following on the failing client to no avail
NetworkManager, dhcp-client, nm-connection-editor
I have tried booting with an older kernel

4. I am using ddns-update-style interim; on the server as I believe
   that dhcp-4.1.1-49.P1.el6.centos.x86_6 does not support "standard"
   interim "uses TXT RRs instead of DHCID RRs"
   However the error message does refer to "Has an address record but no DHCID, not mine."

I may have somehow screwed up the configuration on the failing machine or the server
but I don't think so.

Any help/advice gratefully received!

John


-- 
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