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

enPage

Replying to @⁨slazer2au@lemmy.world⁩

Can I recommend that you move that record to the local DNS? Assuming your router’s firmware has this feature and you can access it.

Private IPs in public DNS are associated with certain types of attacks and they get filtered by some DNS servers, routers or ISPs so you may run into intermittent “unexplained” hiccups.

Secondly, if your internet ever goes down in the middle of the night and the records expire from the local DNS cache by morning, you won’t be able to resolve anything on your LAN anymore. Which is a pity because it’s unnecessary, your local setup can work fine independent of the internet connection.

Last but not least, there are actors out there that use a variety of methods to gather information about the infrastructure behind each domain and the least such information you put out there, the better.

Run your domain through DNS Robot to get an idea.

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.

Replying to @⁨frongt@lemmy.zip⁩

Having access to port 80 on the IP associated with a domain but not to the DNS raises some interesting questions. 🙂

Unless it’s purely a matter of personal preference but I for one don’t see why you’d want to do HTTP-01 (as a self-hoster) unless forced. It can’t do wildcards, for one thing. And you need an A record pointing to your public IP, and if your public IP is dynamic you need to do DDNS, and open port 80 and so on. That’s a lot of moving pieces that make automation hard.

Also, if you’re doing DDNS there’s a chance the DNS has some sort of API that might also work for certbot. Granted it’s not a given, I’ve seen registrars that offer a DDNS link but not something you’d call an actual DNS API.

But anyway finding a decent DNS provider with a certbot-friendly API is not that hard.

Replying to @⁨marius@feddit.org⁩

The need for “proper domains”, where “proper” nowadays seems to mean “Trump-approved”, is an important risk, because then the identity of your homelab depends on the DNS and SSL cartel. It’s one of the reasons I distrust the Gemini protocol and consider it a raw downgrade from Gopher (and from HTML, for that matter).

If home.arpa is the way to go local, then it’s the way to go local.

Replying to @⁨marius@feddit.org⁩

The de-facto standard for LAN-only domains is .local. The officially endorsed/standardized TLD is .internal.

If you use your own DNS server and CA, you can literally set up whatever you like. You could even tell your DNS server to resolve example.com to your local IPs.

My router – a Fritzbox – automatically sets up hostname.fritz.box for all connected hosts but HTTP only. If your router does the same, you could use those and have your CA issue certificates accordingly.

Replying to @⁨marius@feddit.org⁩

Using self signed as a route that it’s not going to work after you factor in service specific apps that refuse your self signed certs, phones where installing those certs is a pain, and the overall WAF where installing those certs might just put off family users.

Add in the mix the new Android 17 fucking “feature” where apps need special permissions to access the local network … (Yeah, Dav5x, home assistant, even Firefox stopped working on my on Android until I figured this out after upgrading to 17). I will write a post on this topic later on today.

Replying to @⁨marius@feddit.org⁩

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

Fewer Letters More Letters CA (SSL) Certificate Authority DNS Domain Name Service/System ESPA EELV Secondary Payload Adapter standard for attaching to a second stage ISP Internet Service Provider SSH Secure Shell for remote terminal access TLS Transport Layer Security, supersedes SSL VPN Virtual Private Network

[Thread #172 for this comm, first seen 20th Nov 2026, 08:00] [FAQ] [Full list] [Contact] [Source code]

Hachyderm.ioImran Nazar ~ عمران نزر (@Two9A@hachyderm.io)3.24K Posts, 316 Following, 296 Followers · Front-end #typescript developer and general keyboard tapper; author of Internet RFC 7168 (Hypertext Coffeepot Control Protocol for teapots); occasional plumber, more than occasional #c64 #retrocomputing enthusiast, terrible at classical #piano. Header photo is a verdant scene looking over the landscape near Buxton, England, taken from a single-track country road.

Replying to @⁨cow@lemmy.world⁩

I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

Honest question, why not set up a reverse proxy that uses Let’s Encrypt? It will handle internal domains if configured appropriately, and then you only have to configure at the proxy and DNS level.

Replying to @⁨fuckoffplzkthx@lemmy.zip⁩

I’ve never liked this approach - having to enroll certs on every machine always seemed tedious and it’s why I just “dealt with” having HTTPS errors internally for years.

You only have to do it once per machine and I use NixOS a lot so its easy to just add to a module imported by every system. On other Linux systems it’s just putting the pem file somewhere in /etc/ and running a command to reload it. Android cell phones were pretty easy but I forget the exact details.

Honest question, why not set up a reverse proxy that uses Let’s Encrypt?

I have multiple of those for public services. Because I don’t want to expose every service to the internet for HTTP-01 and can’t use DNS-01 due to how my nameservers are set up, this makes sense. Other advantages are not needing to distribute DNS update keys to every single server for security reasons and having shorter domains.