Re: [opensuse] Hardcoded .local topleveldomain?



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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: ipv6 question
    ... At the moment I use radvd and update my DNS entries in my local bind server. ... Router advertisements are not exactly broadcasts, ... multicast address groups. ...
    (Fedora)
  • RE: Re: [SLE] Upgrading SuSE enterprise from 9.0 to 9.x
    ... domain as link-local domain and sends multicast DNS requests to the ...
    (SuSE)
  • mDNS and /etc/nsswitch.conf
    ... When I did I lost all ability to access my dns server. ... I started up a sniffer and found my system was attempting to access port 5353 at 224.0.0.251, a multicast address, to resolve url's. ... This was done without asking me if I wanted to use multicast DNS as the default protocol for resolving url's during the update. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • RE: RE: Re: [SLE] Upgrading SuSE enterprise from 9.0 to 9.x
    ... multicast address 224.0.0.251 port 5353 instead of normal DNS ... If you already use the .local domain in your nameserver ... http://www.multicastdns.org for more information on multicast DNS." ... As you say, a bit rough. ...
    (SuSE)