What's the difference between .local, .home, and .lan?
There are no RFCs that specify .lan
and .home
. Thus, it is up to the router's vendor what pseudo TLDs (top-level-domain names) are by default configured.
For example my router vendor (AVM) seems to use .fritz.box
by default.
.local
is used by mDNS (multicast DNS), a protocol engineered by Apple. Using example.local
only works on systems (and for destinations) that have a mDNS daemon running (e.g. MacOSX, current Linux distributions like Ubuntu/Fedora).
You can keep using dhcp - but perhaps you have to configure your router a little bit. Most routers let you configure such things like the domain name for the network.
Note that using pseudo TLDs is kind of dangerous - .lan
seems to be popular - and better than .local
(because it does not clash with mDNSs .local
) - but there is no guarantee that ICANN will not introduce it as new TLD at some point.
2019 update: Case in point, .box
isn't a pseudo TLD, anymore. ICANN delegated .box in 2016.
Thus, it makes sense to get a real domain name - and use sub-domains of it for private stuff, e.g. when your domain is example.org
you could use:
lan.example.org
internal.example.org
...