by mjevans · 2y ago · 0 comments
Please also reserve 'lan' since so many of us running from .local which Apple decided to takeover screwed over. Just reserve that it's for site specific / local / 'internal' use and that no other brilliant **hole can screw up a perfectly good network for another protocol or extension with it.
It is the IETF that instructed/approved IANA to reserve .local:
* https://datatracker.ietf.org/doc/html/rfc6761
* https://datatracker.ietf.org/doc/html/rfc6762
* https://www.iana.org/assignments/special-use-domain-names/sp...
Registering your own domain can cost as little as US$20/year: if you don't want conflicts get one and stop kludging together solutions.
That's how you get conflicts. Somebody forgets to renew the domain or thinks there's nothing there because it doesn't resolve from the public internet and now you've got a conflict with the squatter who registers it 17 seconds later and/or whoever they sell it to.
This also works poorly for small and medium organizations where the cost isn't the price, it's the paperwork. They can be small enough to care about money but large enough to require purchasing approval, and then the IT person is going to make up an internal name rather than engage the bureaucracy to buy one. And since that's going to happen anyway there might as well be a standard way to support it.
No, it is how to avoid conflicts: by publicly claiming a namespace.
> Somebody forgets to renew the domain or thinks there's nothing there because it doesn't resolve from the public internet and now you've got a conflict with the squatter who registers it 17 seconds later and/or whoever they sell it to.
So you have the option of: theoretically losing the name space and causing conflicts because of incompetence, or the guaranteed chance of strange behaviour due to incompetence of choosing a kludgey solution.
> This also works poorly for small and medium organizations […]
But even an organization of a modicum of size needs to register a domain for being able to use e-mail. Maybe if you're a sole proprietor you'll use your gmail.com or outlook.com address for business, but once you have even a handful of employees you'll want to give each of them a 'business e-mail' at your company's name.
And once you have a company-name e-mail domain/address congratulations, you can now use the same domain for IT namespacing purposes.
And if you forget to renew you have larger problems than potentially broken internal/IT DNS: someone else changes the MX records and your company's e-mail is sent somewhere else, and you can't send out.
Which is what this is doing, by publicly claiming a namespace for anyone's internal use. Since it's internal use and there is no public use, there can't be a public conflict.
> theoretically losing the name space and causing conflicts because of incompetence
This is not theoretical. It's a major part of the squatter's business model. People don't renew their domains and then get extorted to buy them back. Happens all the time, and is significantly more likely to happen for an internal domain that has no DNS records with the registrar and doesn't appear to be in use.
> But even an organization of a modicum of size needs to register a domain for being able to use e-mail.
Which will be a different domain, often administered by different people, because it's being used for the company's public infrastructure rather than its internal network.
Not sure about others, but I am not gonna trust that person to manage my .local network regardless.
> This also works poorly for small and medium organizations where the cost isn't the price, it's the paperwork.
I had been in that position to chase an approval of $20 domain name purchase. Totally worth it. Much less headache than managing a bunch of made up domains and their weird internal name server configs.
"Corporate bureaucracies are infallible" is an extremely unrealistic assumption.
> Much less headache than managing a bunch of made up domains and their weird internal name server configs.
How is an internal domain weirder to configure or less made up than a public one?
.lan is short and convenient, there is no good case for using it in any other context. .lan is used defacto as a private TLD. ICANN should reflect this reality by codifying it in an RFC.
The first mDNS draft came out in 2001. And as noted RFC 6762 § Appendix G, .local was used by Mac OS 9 for the same purpose as it it was for mDNS: link-local resolution.
.local was never reserved for private use, and it got scooped up for mdns. .dev was never reserved for private use, it got gTLD'd and owned by Google who promptly put it on the HSTS preload list.
.internal is nice but it's not what people are already using.
.company
.industries
.network
The reason .lan (or, for that matter, .local) isn't really that great is there will be large corporations wanting an internal use domain that spans multiple sites, which is neither local nor Local Area Network.But since it's likely to see widespread use, it does make sense for it to be short and so easy to type, which .internal is not.
A decent one would be .pri, since a lot of companies already use it and "private" is what we're going for here.
As .lan,.local,.corp etc... aren't marked as internal, the root domain servers recieve thousands of queries per second for these internal use domains.
Not only does this add load to the root servers and add lag to applications, it leaks internal information while providing zero value to the user.
Just as you never have to type '.localdomain' on a CentOS or Fedora box, you won't have to type it with this change unless you want to specify a fully qualified domain.
Another advantage may be a simplification of internal certificates without the current risky practice of adding internal CAs to the global CA list to get around this problem.
https://cabforum.org/internal-names/
The CAB forum doesn't care about internal use but we have to all deal with it. It is quite possible that if this is standardized that companies could apply for intermediate CA's signed by a public cert that only apply to RFC1918 space and the .internal. TLD.
Although they will probably still claim it is out-of-scope:
https://github.com/cabforum/forum/blob/main/CSCWG-charter.md...
But at least with an but with a official non-global TLD it may be possible to make a case for it.
> Multi-label names with the domain suffix ".local" are resolved using MulticastDNS on all local interfaces where MulticastDNS is enabled. As with LLMNR, IPv4 address lookups are sent via IPv4 and IPv6 address lookups are sent via IPv6.
https://www.freedesktop.org/software/systemd/man/latest/syst...
You are using a TLD that is reserved for something else. It is your configuration that is not standards compliant (.local was reserved in 2013 per RFC 6762).
I don't really care about the standards, I care about what my devices do, and until the past few months my Linux devices defaulted to (mis)using .local.
There are a few internal TLDs you can use. You always had home.arpa available, and .example, .test, and .invalid were also reserved. Anything else is and always has been fair game.
.local has had Apple-specific incompatibilities since at least 1999. Apple should've standardised .local before they released software that relies on special handling of it, but it's been almost 25 years since this problem was introduced and 11 years since this was standardised, it's time to move on.
https://www.icann.org/en/public-comment/proceeding/proposed-...
>>> 'internal'[::-1]
'lanretni'