126 points · by mcp_ · 2y ago · 140 comments
Ref: https://www.icann.org/en/board-activities-and-meetings/mater...
I see an argument that ".dev" should have been considered "high-risk", but it doesn't seem to have been on the list. So this isn't a reason to distrust ICANN when they say they won't be approving ".home", ".corp", and ".mail".
Google did extreme evil with .dev, with the blessing of ICANN.
[1] https://gtldresult.icann.org/applicationstatus/viewstatus
[2] https://gtldresult.icann.org/applicationstatus/applicationde...
I pay $10/year for a custom domain on my country's TLD and host any local stuff on that, so I can use proper CA-signed certificates which are trusted by default. But I could see this being useful if I was only using my own clients.
- .bid
- .download
- .date
- .loan
- .men
- .party
- .stream
- .trade
- .win
You could probably get away with using a few of these for a home network, though some would be kinda strange (.men? .loan?)Define 'cranked'.
I spend way more in a bar in one night than on my domains yearly, so I always find 'oh I need one super-duper cheap, below $2/y otherwise it's way too much' comments a bit.. too frugal.
I haven't bothered doing DNS auth to get certs since I started using paid domains.
Edit: specifically, encrypting http traffic will help reduce the risk of the threat actor acquiring new credentials (since we don't reuse those) and using them to pivot to other resources.
1. You may be talking to someone other than you think. This only makes sense with registered domain names.
2. Your data can be eavesdropped or modified by someone in the middle. This would be quite rare within a LAN. Encryption itself might make sense sometimes but standard TLS is a really poor fit because there is no proper CA for the domain names.
The main issue though is people don’t want IP addresses, they want names. If a special domain (like .home or .local) will only ever query local DNS servers returning local IP addrs, it would be roughly as safe as using IP addresses directly(?).
In either case, when the user intentionally wants to speak over LAN (either IP or known home domain) the warning is unhelpful. For instance, configuring a router.
Literally every single public wifi network, which is a significant percentage of all internet traffic (including basically everyone working from a wework for example), is vulnerable to eavesdropping/mitm
[1] https://www.icann.org/en/public-comment/proceeding/proposed-...
Because you need to provide DNS locally, it's useless for the common abuse scenario (spam, phishing, illegal content). Unlike other free domain providers, I have never received an abuse notification.
I got on the public suffix list in the last few months. Lots more features I'd like to add, but my attention has been elsewhere.
Not particularly bound to Caddy or Coredns on the external side but it's what we're using for the internal as well.
For the former, the Caddy ACME DNS plugin should work.
For the latter, I think mitmproxy or similar would handle the on demand TLS cert creation. There's commercial intercept proxies as well, but I have no experience with them.
It's a bit of a pain to load a cert onto every device (easier with stuff like Ansible if you have a bunch of linux devices), but manageable. And it lets me do proper trusted TLS for a lot of stuff that would otherwise be self-signed.
edit: It's also just a fun homelab project to see what it's like to run a full production-ish PKI setup.
One thing I recommend is to add X509v3 Name Constraints extensions to your root CA if you go down this path. It prevents the CA from being abused to MITM you for other domains (at least for browsers/clients that respect names constraints)
X509v3 Name Constraints: critical
Permitted:
DNS:home.arpa
DNS:.home.arpa
IP:10.0.0.0/255.0.0.0
IP:172.16.0.0/255.240.0.0
IP:192.168.0.0/255.255.0.0https://datatracker.ietf.org/doc/html/rfc6762#appendix-G
ICANN seems to be in the process of finalizing a proposal to officially reserve .internal for this purpose.
https://www.icann.org/en/announcements/details/icann-seeks-f...
On almost every linux installation we have to tweak `/etc/nsswitch.com` for it to work.
I doubt it'll ever happen but hey, one can wish :)
e.g. systemd by default won't query DNS for a .local domain, and it's sometimes useful to connect to K8s resources from outside the cluster.
https://www.caranddriver.com/news/a44083580/maryland-license...
If you have a domain of your own, by all means use it. Most residential network operators don't.
> where example.com is a domain I've had for 30 years
(That domain has that reservation specifically for use in arbitrary examples, as here.)
Seriously, I run ARPA-NET in my home.internet, as well as IPX (Bayans VINES) and Frame Relay/X.25. Yeah, it's what I do. Also encrypted MAC-layers too.
Now the real kicker is maintaining DNSSEC for my home.internet. A real exercise in extremity (but not futility yet it is doable)
Assume you own example.com, then you can issue a free certificate for *.example.com and use that certificate for all your home services. Using HTTPS in the intranet does have its benefits and eases coding when services require SSL.
If you host vaultwarden.example.com in your intranet, then you don't have to publish the subdomain on a public nameserver; it's enough that your intranet DNS resolver can respond with the local A or AAA record for vaultwarden.example.com and it's covered by the wildcard certificate.
Sure I can. It's my network, so I decide what root CAs are trusted. Be your own CA, and tell your computers to trust your own CA cert.
For example:
https://smallstep.com/blog/build-a-tiny-ca-with-raspberry-pi...
or
I've been using a local CA for a long time, but I have not found a way to limit it that way, so security-wise it is less than optimal.
(on that note, is there a chromium/firefox build available that disables all that garbage so I can test in peace without having to reverse proxy my dev server?)
> I can just link people from home.com to a page with an ssl cert if it became necessary for some reason
The only way that would work is if you use a root certificate authority and have them install it as trusted in their device, which is asking them to compromise their security, because that authority will be trusted for all TLS validation on any domain.
But here we are.