.local
The domain name .local is a special-use domain name reserved by the Internet Engineering Task Force (IETF) so that it may not be installed as a top-level domain in the Domain Name System (DNS) of the Internet. As such, it is similar to the other special domain names, such as .localhost. However, .local has since been designated for use in link-local networking, in applications of multicast DNS (mDNS) and zero-configuration networking (zeroconf) so that DNS service may be established without local installations of conventional DNS infrastructure on local area networks.
The domain name .local is a special-use domain name reserved by the Internet Engineering Task Force (IETF) so that it may not be installed as a top-level domain in the Domain Name System (DNS) of the Internet. As such, it is similar to the other special domain names, such as .localhost. However, .local has since been designated for use in link-local networking, in applications of multicast DNS (mDNS) and zero-configuration networking (zeroconf) so that DNS service may be established without local installations of conventional DNS infrastructure on local area networks. ==Multicast DNS standard== The Internet Engineering Task Force (IETF) reserves the use of the domain name label .local as a special-use domain name for hostnames in local area networks that can be resolved via the Multicast DNS name resolution protocol. Any DNS query for a name ending with the label local must be sent to the mDNS IPv4 link-local multicast address , or its IPv6 equivalent . (Note that and are the same number.) A domain name ending in .local may be resolved concurrently via other mechanisms, for example, unicast DNS. ==mDNS implementations== RFC 6762 was authored by Apple Inc. employees Stuart Cheshire and Marc Krochmal, and Apple's Bonjour zeroconf networking software implements mDNS. That service will automatically resolve the private IP addresses of link-local Macintosh computers running macOS and mobile devices running iOS if .local is appended to their hostnames. In addition, Bonjour devices will use those .local hostnames when advertising services to DNS Service Discovery clients. Most Linux distributions also incorporate and are configured to use zeroconf. By default, each computer's Avahi daemon will respond to mDNS hostname.local queries, and most shell commands and application program calls that attempt to resolve such names are routed to that daemon by the default hosts: line in the Name Service Switch configuration file. It is also possible to configure the nss-mdns modules and Avahi to resolve hostnames with other pseudo-TLDs. Windows has some support for mDNS, which can be improved by installing zeroconf software available from Apple and other third parties. Finally, many printers and other peripheral devices also implement the mDNS protocol in order to provide simplified connections to them from computers that implement zeroconf. ==Microsoft recommendations== The connection of Macintosh and Linux computers or zeroconf peripherals to Windows networks can be problematic if those networks include name servers that use .local as a search domain for internal devices. Microsoft recommends against using unregistered suffixes, such as .local. At one time, Microsoft at least suggested the use of .local as a pseudo-TLD for small private networks with internal DNS servers. For example, support article 296250 included the following option: However, more recent articles have cautioned or advised against such use of the .local TLD. Support article 300684 listed contoso.local as an example of a "best-practice Active Directory domain name", but then added: which would of course preclude using that or any other domain ending with .local. Microsoft TechNet article 708159 suggested .local for the exact opposite reason: but later recommended against it: The Microsoft Learn article "Selecting the Forest Root Domain" cautioned against using .local: By default, a freshly installed Windows Server 2016 Essentials also adds .local as the default suffix when a user doesn't select the advanced option, resulting in a domain with .local extension. ==Linux== Linux distributions use the Name Service Switch configuration file /etc/nsswitch.conf in which mDNS name resolution was added via the mdns4_minimal plugin to nsswitch . In this configuration, where mdns4_minimal precedes the standard dns option, which uses /etc/resolv.conf , the mDNS resolution will block subsequent DNS resolution on the local network. hosts: files mdns_minimal [NOTFOUND=return] dns # for ipv4 and ipv6 or hosts: files mdns4_minimal [NOTFOUND=return] dns # for ipv4 only This is a configuration choice made by distributions such as Ubuntu/Debian and SuSE and Red Hat, each of which have their own package configuration script that will install the mdns_minimal module as above. In this way .local requests are being prevented from leaking to the internet, but also block legitimate .local requests for configured DNS servers. ==Global DNS queries== As local is an officially reserved special-use domain name host names with this top-level label are not resolvable in the global Domain Name System. ==References== sv:Toppdomän#Generiska toppdomäner
References
- Special-Use Domain Names · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "Special-Use Domain Names." 2026-11-17. https://www.iana.org/assignments/special-use-domain-names. Accessed 24 November 2026.
Chicago "Special-Use Domain Names." 2026-11-17. https://www.iana.org/assignments/special-use-domain-names.
APA encyclopegia.org. (2026). Special-Use Domain Names. Retrieved November 24, 2026, from https://www.iana.org/assignments/special-use-domain-names
- Apple Bonjour: Let's Talk! · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "Apple Bonjour: Let's Talk!." 2026-11-17. https://www.slideshare.net/squallstar/apple-bonjour-lets-talk. Accessed 24 November 2026.
Chicago "Apple Bonjour: Let's Talk!." 2026-11-17. https://www.slideshare.net/squallstar/apple-bonjour-lets-talk.
APA encyclopegia.org. (2026). Apple Bonjour: Let's Talk!. Retrieved November 24, 2026, from https://www.slideshare.net/squallstar/apple-bonjour-lets-talk
- mDNS and DNS-SD slowly making their way into Windows 10 · retrieved 2022-04-17 · rev 1351082993
Cite this reference
MLA "mDNS and DNS-SD slowly making their way into Windows 10." Aleksandersen, Daniel (26 March 2018). 2022-04-17. https://www.ctrl.blog/entry/windows-mdns-dnssd.html. Accessed 24 November 2026.
Chicago "mDNS and DNS-SD slowly making their way into Windows 10." Aleksandersen, Daniel (26 March 2018). 2022-04-17. https://www.ctrl.blog/entry/windows-mdns-dnssd.html.
APA Aleksandersen, Daniel (26 March 2018). (2022). mDNS and DNS-SD slowly making their way into Windows 10. Retrieved November 24, 2026, from https://www.ctrl.blog/entry/windows-mdns-dnssd.html
- Domain Name System name recommendations for Small Business Server 2000 and Windows Small Business Server 2003 · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "Domain Name System name recommendations for Small Business Server 2000 and Windows Small Business Server 2003." 2026-11-17. https://web.archive.org/web/20071227141646/http://support.microsoft.com/kb/296250/. Accessed 24 November 2026.
Chicago "Domain Name System name recommendations for Small Business Server 2000 and Windows Small Business Server 2003." 2026-11-17. https://web.archive.org/web/20071227141646/http://support.microsoft.com/kb/296250/.
APA encyclopegia.org. (2026). Domain Name System name recommendations for Small Business Server 2000 and Windows Small Business Server 2003. Retrieved November 24, 2026, from https://web.archive.org/web/20071227141646/http://support.microsoft.com/kb/296250/
- Information about configuring Active Directory domains by using single-label DNS names · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "Information about configuring Active Directory domains by using single-label DNS names." 2026-11-17. https://web.archive.org/web/20130410235937/http://support.microsoft.com/kb/300684/. Accessed 24 November 2026.
Chicago "Information about configuring Active Directory domains by using single-label DNS names." 2026-11-17. https://web.archive.org/web/20130410235937/http://support.microsoft.com/kb/300684/.
APA encyclopegia.org. (2026). Information about configuring Active Directory domains by using single-label DNS names. Retrieved November 24, 2026, from https://web.archive.org/web/20130410235937/http://support.microsoft.com/kb/300684/
- Internal Domain Information (OEM) · retrieved 2023-01-02 · rev 1351082993
Cite this reference
MLA "Internal Domain Information (OEM)." 2023-01-02. https://technet.microsoft.com/en-us/library/cc708159. Accessed 24 November 2026.
Chicago "Internal Domain Information (OEM)." 2023-01-02. https://technet.microsoft.com/en-us/library/cc708159.
APA encyclopegia.org. (2023). Internal Domain Information (OEM). Retrieved November 24, 2026, from https://technet.microsoft.com/en-us/library/cc708159
- Selecting the Forest Root Domain · retrieved 2023-01-02 · rev 1351082993
Cite this reference
MLA "Selecting the Forest Root Domain." 2023-01-02. https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/selecting-the-forest-root-domain. Accessed 24 November 2026.
Chicago "Selecting the Forest Root Domain." 2023-01-02. https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/selecting-the-forest-root-domain.
APA encyclopegia.org. (2023). Selecting the Forest Root Domain. Retrieved November 24, 2026, from https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/plan/selecting-the-forest-root-domain
- Ubuntu Manpage: nsswitch.conf - Name Service Switch configuration file · retrieved 2021-02-21 · rev 1351082993
Cite this reference
MLA "Ubuntu Manpage: nsswitch.conf - Name Service Switch configuration file." "Ubuntu Manpage: nsswitch. 2021-02-21. http://manpages.ubuntu.com/manpages/focal/en/man5/nsswitch.conf.5.html. Accessed 24 November 2026.
Chicago "Ubuntu Manpage: nsswitch.conf - Name Service Switch configuration file." "Ubuntu Manpage: nsswitch. 2021-02-21. http://manpages.ubuntu.com/manpages/focal/en/man5/nsswitch.conf.5.html.
APA "Ubuntu Manpage: nsswitch. (2021). Ubuntu Manpage: nsswitch.conf - Name Service Switch configuration file. Retrieved November 24, 2026, from http://manpages.ubuntu.com/manpages/focal/en/man5/nsswitch.conf.5.html
- D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names . Network Working Group. doi : 10.17487/RFC2606 . BCP 32. RFC 2606 . Best Current Practice 32. Updated by RFC 6761 . Wikipedia revision 1351082993, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names . Network Working Group. doi : 10.17487/RFC2606 . BCP 32. RFC 2606 . Best Current Practice 32. Updated by RFC 6761 . Wikipedia revision 1351082993, retrieved 2026-11-18." D. 2026-11-17. https://www.rfc-editor.org/rfc/rfc2606. Accessed 24 November 2026.
Chicago "D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names . Network Working Group. doi : 10.17487/RFC2606 . BCP 32. RFC 2606 . Best Current Practice 32. Updated by RFC 6761 . Wikipedia revision 1351082993, retrieved 2026-11-18." D. 2026-11-17. https://www.rfc-editor.org/rfc/rfc2606.
APA D. (2026). D. Eastlake; A. Panitz (June 1999). Reserved Top Level DNS Names . Network Working Group. doi : 10.17487/RFC2606 . BCP 32. RFC 2606 . Best Current Practice 32. Updated by RFC 6761 . Wikipedia revision 1351082993, retrieved 2026-11-18. Retrieved November 24, 2026, from https://www.rfc-editor.org/rfc/rfc2606
- a b c S. Cheshire ; M. Krochmal (February 2013). Multicast DNS . Internet Engineering Task Force . doi : 10.17487/RFC6762 . ISSN 2070-1721 . RFC 6762 . Proposed Standard. Wikipedia revision 1351082993, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1351082993
Cite this reference
MLA "a b c S. Cheshire ; M. Krochmal (February 2013). Multicast DNS . Internet Engineering Task Force . doi : 10.17487/RFC6762 . ISSN 2070-1721 . RFC 6762 . Proposed Standard. Wikipedia revision 1351082993, retrieved 2026-11-18." a b c S. 2026-11-17. https://en.wikipedia.org/wiki/Stuart_Cheshire. Accessed 24 November 2026.
Chicago "a b c S. Cheshire ; M. Krochmal (February 2013). Multicast DNS . Internet Engineering Task Force . doi : 10.17487/RFC6762 . ISSN 2070-1721 . RFC 6762 . Proposed Standard. Wikipedia revision 1351082993, retrieved 2026-11-18." a b c S. 2026-11-17. https://en.wikipedia.org/wiki/Stuart_Cheshire.
APA a b c S. (2026). a b c S. Cheshire ; M. Krochmal (February 2013). Multicast DNS . Internet Engineering Task Force . doi : 10.17487/RFC6762 . ISSN 2070-1721 . RFC 6762 . Proposed Standard. Wikipedia revision 1351082993, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Stuart_Cheshire
Cite this article
MLA
".local." encyclopegia.org, 2026, https://encyclopegia.org/wiki/local. Accessed 24 November 2026.
Chicago
".local." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/local.
APA
encyclopegia.org. (2026). .local. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/local
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON