Hello John,

A couple of questions, as I would really like to understand how this is working and why it fails at times. With your DHCP server config, are the clients sending the DynDNS updates directly or are the DynDNS updates managed by the DHCP server to DNS?

In my case I'm using static IPs on all of my test clients, so may need to try the same tests with DHCP.

Thank you,

Frank

On Tue, Jun 23, 2015 at 4:18 AM, John Hodrien <J.H.Hodrien@leeds.ac.uk> wrote:
On Mon, 22 Jun 2015, Frank Pikelner wrote:

The second /etc/hosts file should be correct but dynamic DNS is not
working. Is there something in the implementation that requires the first
case, or should just the order of the /etc/hosts entries modified so that
the localhost appears second in the list?

I have machines that do DDNS triggered from DHCP, and it works just fine
without having the incorrect /etc/hosts.  Indeed I just have:

127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6

To get the client to send the correct hostname, I use:

/etc/sysconfig/network-scripts/ifcfg-eth0:
DHCP_HOSTNAME="whatever.you.want"

That makes it work perfectly for me.

jh

_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users