Live data from Hacker News

What domain name to use for your home network

ctrl.blog

51–60 of 174 posts

Re: What domain name to use for your home network

#51

This is a complete tangent, but does anyone else really hate white text on black background? After reading only a few lines my eyes hurt and I have ghosting where the lines were when I look away. Websites like this one are basically unusable for me

Turn off dark mode in your system settings if you don't want dark mode. It's black-on-white in light mode.

Re: What domain name to use for your home network

#52

I just use a real domain name, so I can easily obtain LE certs. Only the internal DNS server will actually return internal addresses.

A real domain name is the way to go. The convenience of using LE wildcard certificates is huge. However, running split-horizon DNS is not straightforward, at least in a home setting. I don't see a huge problem with putting a couple of internal addresses in external DNS servers. lexicon cloudflare --auth-token $(gopass cloudflare) create my-real-domain.xyz A --name my-rpi --content 192.168.1.201

I have simple requirements, so I just have a few normal records for the external DNS (primarily for LE to use, but also to make it easier for me to find my way back into my home network when I'm out and about). For internal addresses, I just use overrides in Pi-Hole.

I 100% agree that the whole reason for this setup is my LE cert. For whatever reason, some of my internal services with self-signed certs are not usable with Chrome, and some are. I don't know what pushes Chrome over the edge so it won't let you override. So I set up an internal reverse proxy with nginx to front-end all my internal services, then I only have to worry about keeping the LE cert installed in one spot.

Re: What domain name to use for your home network

#53

Honestly, just spend the five bucks a year and reserve a real domain name with auto renew. You don't need to make it publicly resolvable, but you'll be 100% sure all of your internal service names won't ever conflict with anything used in the real world. If you pick the right registrar, you can easily get your hands on a wildcard DNS cert as well through Let's Encrypt, so you can protect your internal services with H…

Mixing LAN and Internet scopes makes me uneasy. In my LANs the local domain is .local, because .local is one of the reserved top domain names, and it shouldn't be resolvable outside the LAN.

https://tools.ietf.org/id/draft-chapin-rfc2606bis-00.html#rf...

Re: What domain name to use for your home network

#55

Honestly, just spend the five bucks a year and reserve a real domain name with auto renew. You don't need to make it publicly resolvable, but you'll be 100% sure all of your internal service names won't ever conflict with anything used in the real world. If you pick the right registrar, you can easily get your hands on a wildcard DNS cert as well through Let's Encrypt, so you can protect your internal services with H…

Mixing LAN and Internet scopes makes me uneasy. In my LANs the local domain is .local, because .local is one of the reserved top domain names, and it shouldn't be resolvable outside the LAN. https://tools.ietf.org/id/draft-chapin-rfc2606bis-00.html#rf...

Read the article. Don’t use .local (except for mDNS.)

Re: What domain name to use for your home network

#57

> Do not use undelegated domain names like .lan, .home, .homenet, .network, nor should you make up your own domain name. ...why? My DNS server, my rules, no? Why should I feel obligated to follow ICANN? Obviously, I'll need to make changes if someone ever registers the domain with ICANN (and I want to access the ICANN version), but other than that...

As long as you properly configure your server to not bother the root servers, then sure. Do what you want. But you need to set up the TLD zone in addition to your domain zone. It’s extra work.

Re: What domain name to use for your home network

#58
post #27
post #5

Earlier quoted context omitted.

The issue here being: what happens when you have your proxy configured as "proxy.lan" but you make a typo when entering it in local DNS or in your browser settings? That DNS request for "proxy.lan" will now go all the way out to the root servers for every page load, multiple times. Not so important for you with your 200 tabs open, but quite important to the people maintaining the root servers who see a significant pe…

What if you make a typo on .home.arpa? e.g., .home.arps? How is that any different?

Because all DNS software is supposed to know that the .arpa domain name is managed by the IETF and not ICANN. Or, rather, they know not to try to resolve it. There are a handful of different .arpa domains in use, and they all require special handling from your DNS server. E.g. reverse DNS/rDNS uses in-addr.arpa., and the DNS server in even the dumbest consumer-grade router will know how to respond to requests under that domain.

Re: What domain name to use for your home network

#59
post #10
post #5

Earlier quoted context omitted.

The issue here being: what happens when you have your proxy configured as "proxy.lan" but you make a typo when entering it in local DNS or in your browser settings? That DNS request for "proxy.lan" will now go all the way out to the root servers for every page load, multiple times. Not so important for you with your 200 tabs open, but quite important to the people maintaining the root servers who see a significant pe…

Does this happen often? How do they mitigate this?

They burn money on the problem.

Re: What domain name to use for your home network

#60

Weird, my Linksys WRT1900AC applies `.home` to its local DNS, but this article says not to?

Don’t use the .home domain. It was mistakenly recommended in RFC 7788. But that RFC was updated by RFC 8375 recommending the home.arpa domain.

(RFCs are published by the IETF who manages the .arpa TLD. That’s one of the few TLDs not managed by ICANN for historical reasons. The .home TLD falls under ICANN’s root domain, so the RFC shouldn’t have assigned it.)

Post reply on HN