What's your opinion on local domains like cloud.lan?

Imo it’s quite nice to not have a public domain like cloud.example.com which is much longer and all the gold ones are taken anyway.

Putting these local ones in my dns server is no issue, but getting https to work seems like a pain. I set up caddy to use its own certificate authority, but even when installing the root certificate to windows, many programs still don’t truth it and most of them don’t show a useful error message. Additionally getting them to trust the certificate is fiddely and then try to explain that to your mom so she can use my cloud.

All this makes me thing about switching back to public subdomains so I can get lets encrypt certificates

Replying to @⁨marius@feddit.org⁩

As far as I’m aware, the only “local” domains are the ones reserved in the RFC, e.g. home.arpa

Everything else is just a public domain you don’t own, or not a domain. Using a domain that you don’t have authority over carries risks, even if you think you’ve kept everything local. Just use a real domain that belongs to you.

en

Replying to @⁨deadbeef79000@lemmy.nz⁩

Except that isn’t really a fair comparison. Private ranges aren’t any more complicated than public ranges so it doesn’t impact me when using IPv4 private IPs.

.home.arpa is one of the most “designed by committee” domains I have heard in my life. It is way longer than .lan and defeats the point of local domains to begin with. I might as well use a public domain instead. .lan was around long before the standard and will be around long after

If .lan becomes a TLD (it won’t) I can always go though and change it to something like lan1 or .mylan both of which would be shorter and easier to type

Replying to @⁨INeedMana@piefed.zip⁩

I still think they shouldn’t be used - they’re still unregistered (edit except for .internal)

datatracker.ietf.org/doc/html/rfc6762#appendix-G

mDNS is weird though, device implementations can often deviate so far from the RFC that you need to rely on the ones there. (I’m really bad with mDNS, someone else feel free to prove me wrong!)

Logo of the IETFIETF DatatrackerRFC 6762: Multicast DNSAs networked devices become smaller, more portable, and more ubiquitous, the ability to operate with less configured infrastructure is increasingly important. In particular, the ability to look up DNS resource record data types (including, but not limited to, host names) in the absence of a conventional managed DNS server is useful. Multicast DNS (mDNS) provides the ability to perform DNS-like operations on the local link in the absence of any conventional Unicast DNS server. In addition, Multicast DNS designates a portion of the DNS namespace to be free for local use, without the need to pay any annual fee, and without the need to set up delegations or otherwise configure a conventional DNS server to answer for those names. The primary benefits of Multicast DNS names are that (i) they require little or no administration or configuration to set them up, (ii) they work when no infrastructure is present, and (iii) they work during infrastructure failures.