On Mon, Mar 9, 2020 at 6:29 AM Michael Ströder
getent hosts uses gethostbyname, which is an obsolete interface. You should use getent ahosts instead.
Hmm, even more confusing (but thanks for the hint)...
Yes, it will get worse if you dig further.
Replacing it with using the IPv4 address works:
ldap-server "127.0.0.1";
I think the issue was caused by the unbound update. The DNS recursor is now returning IPv4 and IPv6 addresses for localhost:
So you are hitting another issue.. queries of name localhost shouldn't even go there in the first place..they shouldn't leak anywhere..should not be asked to the network.. unfortunately nothing mandates this behaviour *yet*.
$ host localhost. localhost has address 127.0.0.1 localhost has IPv6 address ::1
great. the resolver should return NXDOMAIN for that...like google does.. drill localhost@8.8.8.8 ;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 6257... however this is an issue in debate.
In theory ISC dhcpd should have been able to connect to ldap://::1 but it did not work.
I have to dig a bit deeper...
is ldap even listening on ipv6 in the first place ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org