hostnamelocal
hostnamelocal is a special hostname that, when used in DNS queries, typically resolves to the loopback address 127.0.0.1 or the IPv6 loopback address ::1. This behavior is defined in RFC 6762, which specifies the Multicast DNS (mDNS) protocol. The purpose of hostnamelocal is to allow devices on a local network to refer to themselves by a unique, predictable name without relying on a centralized DNS server.
When a device on a local network is configured with a hostname, such as "mycomputer", and this
The use of .local for local network name resolution is a convention established by Bonjour (Apple's implementation