Bernd Nies wrote:
Jan Ritzerfeld wrote:
Am Dienstag, 14. Oktober 2008 schrieb Bernd Nies:
Is the toplevel .local somewhere hardcoded in the NSS libs? [...]
AFAIK it is a glibc patch. The .local domain is dedicated to multicast DNS: http://files.multicastdns.org/draft-cheshire-dnsext-multicastdns.txt
which says: "Any DNS query for a name ending with ".local." MUST be sent to the mDNS multicast address (224.0.0.251 or its IPv6 equivalent FF02::FB)".
Thanks. Indeed an strace of "getent hosts something.local" shows that it tries to contact a multicast IP address before it timeouts for 5s: ...
But it ignores the lookup order defined in /etc/nsswitch.conf. It should return the entry from /etc/hosts and then stop.
I think the point is that the spec is new ("Multicast DNS 10th September 2008") and some systems have already implemented it whilst others haven't. Going forward, more systems will implement it and WILL send to the multicast address. AFAICT, you need to stop using ".local" and choose some other domain name. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org