Homelab names: .internal, home.arpa or your own
Choose a name for self-hosted services. Skip .local. Use .internal or home.arpa with a private CA, or a domain you own with free Let's Encrypt certificates.
Which name should a homelab use?
For homelab names, you can choose .internal, home.arpa, .local or a subdomain of a domain you own. Use a subdomain of a domain you own if you want HTTPS that every device trusts with no extra setup. Use .internal or home.arpa if you do not own a domain and you accept running a private certificate authority. Do not put .local in your DNS server, and do not invent a top-level domain.
The rest of this guide explains why. Most of it is about HTTPS. The name you pick decides who can sign your certificates, and that decides how much setup each device in the house will need.
- A subdomain you own, such as
home.example.com: Let's Encrypt can sign it through a DNS challenge, with no port open to the internet. The cost is that certificate names are published in public logs. .internal, such aswiki.internal: reserved for private use and never delegated on the public internet. No public CA (certificate authority) will sign it, so you run your own CA and install its root on every client.home.arpa, such aswiki.home.arpa: a standard name for home networks. It has the same certificate problem as.internal..local: belongs to multicast DNS. In a normal DNS server it gives you names that work on one device and fail on the next.
If you need a refresher on resolvers, records and caching first, read how DNS resolution works.
What .internal is, and what it is not
ICANN's Board reserved .INTERNAL for private use on 29 July 2024, in resolution 2024.07.29.06. The resolution reserves it from delegation in the DNS root zone permanently. That means nobody can buy a .internal name, and the public DNS will never answer for one. Your own resolver is the only thing that will give wiki.internal an address.
The reservation comes from an ICANN Board resolution. IANA's Special-Use Domain Names registry lists home.arpa and local, but it has no entry for internal. So do not expect operating systems or browsers to treat .internal in any special way. To them it is a name that the public root does not know, and your local resolver answers it.
At the IETF, .internal is the subject of an Internet-Draft (draft-davies-internal-tld-09, dated 30 November 2026). A draft is not a standard yet. Its two warnings are still worth knowing:
- Public certificate authorities are not expected to issue certificates for it, so HTTPS needs a private CA.
- Validating resolvers that rely on the global DNSSEC trust anchor will fail to resolve names ending in
internal. If a device on your network does its own DNSSEC (DNS security extensions) validation, test a.internalname from that device before you rely on it.
What home.arpa is for
RFC 8375, from May 2018, designates home.arpa. for non-unique use in residential home networks. It updates RFC 7788, the Home Networking Control Protocol, which had used .home. "Non-unique" is the important word. Millions of homes can each have their own printer.home.arpa, and none of them owns the name.
The RFC also says queries for home.arpa names must not be recursively forwarded to servers outside the home network. That is a rule for resolvers to follow. It does not prove that every router obeys it, so answer these names from your own resolver.
On DNSSEC, home.arpa is easier than .internal. RFC 8375 requires an insecure delegation for it, with no DS record, pointing to black hole servers. A validating resolver therefore accepts a local answer for nas.home.arpa, because the public DNS says that zone is not signed.
Why .local breaks in normal DNS
RFC 6762 (February 2013) gives .local to multicast DNS, or mDNS. Any query for a name ending in .local. must be sent to the multicast address 224.0.0.251 (FF02::FB on IPv6). Every device on the same network link hears the query, and the device that owns the name answers. This lets devices on one network find each other by name with no DNS server.
Two parts of the same RFC explain the trouble you see when you add .local names to AdGuard Home or Pi-hole:
- Section 22.1 says resolver libraries should not send
.localqueries to their configured unicast DNS server. So the rewrite you created may never be asked. - Appendix G recommends against using
.localas a private top-level domain. It says clients may send multicast and unicast queries at the same time, which adds traffic and delay and can confuse users.
Real systems follow this. On Linux with systemd-resolved, names under .local with more than one label are resolved by multicast DNS and are not routed to DNS servers, unless you set .local as a routing or search domain yourself. Apple has a support article titled "Apple devices might not open your internal network's '.local' domain", and its advice is to use a DNS name that is officially registered to your organization.
The result is a name that resolves on some devices and not on others, depending on how each one handles .local. Leave .local to mDNS. Multicast also stays on one link, so a .local name will not cross a router or a VPN on its own.
Why a made-up TLD is a trap
Some older homelab guides used made-up suffixes such as .dev or .lan. A made-up TLD (top-level domain) works until the real DNS disagrees with you.
.dev shows how that happens. It became a real public TLD on 18 December 2014, delegated to Charleston Road Registry. Every .dev domain is also on the HSTS (HTTP Strict Transport Security) preload list, which means browsers load .dev sites only over HTTPS. A lab name such as myapp.dev served over plain HTTP will not load in those browsers, and the name itself may be registered by someone else.
New TLDs are still being added. ICANN revealed 1,615 applications for its 2026 round of new generic TLDs on 7 October 2026. A string you invent today could become a real TLD later. ICANN has decided that the 2012-round applications for .HOME, .CORP and .MAIL do not proceed. New applications for those strings in future rounds will be treated in the same way as all other applications and subject to the same process. That decision does not make .home a reserved private name, and it says nothing about .lan. Note also that Pi-hole's default local domain is lan. If you choose another suffix for your lab, change that setting to match.
Why no public CA will sign .internal or home.arpa
Browsers trust a certificate only if a CA in their trust store signed it. Those public CAs follow the CA/Browser Forum's Baseline Requirements. The current version (2.3.2, dated 3 December 2026) says a certificate's names must not contain an Internal Name, and that CAs shall not issue certificates containing Internal Names.
An Internal Name is one that cannot be verified as globally unique in the public DNS when the certificate is issued.
wiki.internalfails directly. Its TLD is not in IANA's root zone, so nobody can prove control of it. Let's Encrypt's CA software rejects it with the errorDomain name does not end with a valid public suffix (TLD).wiki.home.arpafails for a different reason..arpais in the root zone, but RFC 8375 makeshome.arpanon-unique. Many homes use the same name, so no single person can prove they control it.
So for both names, no certificate exists that every device trusts by default. You have two choices. Run a private CA and teach each device to trust it, or use a name you own and let a public CA sign it.
The private CA route: Caddy, step-ca or mkcert
A private CA is a root certificate and key that you create. Your reverse proxy uses it to sign certificates for your .internal or home.arpa names. Each of these tools suits a different setup.
Caddy's built-in local CA
Caddy v2.11.9 is the current release, from 5 November 2026. Caddy treats names ending in .localhost, .local, .internal and .home.arpa as not eligible for public certificates. For those names it signs certificates from its own local CA with no configuration. Writing tls internal in a site block makes that choice explicit. If Caddy is new to you, start with running Caddy as a reverse proxy.
A small Compose file:
services:
caddy:
image: caddy:2.11.9
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:And the Caddyfile next to it. Replace 192.168.1.20:3000 with the address and port of your app:
wiki.internal {
tls internal
reverse_proxy 192.168.1.20:3000
}Start it with docker compose up -d. The named caddy_data volume matters. It holds the root key under /data/caddy/pki/authorities/local/, and the Caddy image documentation says the data directory must not be treated as a cache. Lose that volume and Caddy makes a new root, so every device you set up must be set up again.
The lifetimes are short at the bottom and long at the top. The root lasts 3600 days (about 10 years). The intermediate defaults to 7 days. Each site certificate from the internal issuer lasts 12 hours by default in v2.11.9, and Caddy renews it itself. Only the root needs to be installed on clients.
The first time Caddy uses its root key, it tries to install the root into the trust store of the machine it runs on. Inside a container, that machine is the container. Copy the root out and trust it on an Ubuntu client:
docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt ./caddy-root.crt
sudo cp caddy-root.crt /usr/local/share/ca-certificates/caddy-root.crt
sudo update-ca-certificatesupdate-ca-certificates should report that it added one certificate. The full procedure, including how to remove a root later, is in adding your own CA to the Ubuntu trust store.
step-ca
step-ca from Smallstep is a standalone CA server. The latest release is v0.30.2, from 23 March 2026. It speaks ACME (automatic certificate management environment), the same protocol Let's Encrypt uses, once you add an ACME provisioner:
step ca provisioner add acme --type ACMEYou may need to restart step-ca after that. Its ACME directory then lives at https://<your-CA-host>/acme/<provisioner-name>/directory, and an ACME client such as Caddy or Certbot can request certificates from it. Pick step-ca when several machines need certificates from one CA, not only one reverse proxy.
The default and maximum TLS certificate lifetime in step-ca's source is 24 hours. Every client must renew automatically, or its certificate expires the next day. A new computer trusts the CA with step ca bootstrap, which takes the CA URL and the root fingerprint, and step certificate install puts the root into the system trust store. Both need the step CLI, so they help on computers and do nothing for phones or TVs.
mkcert
mkcert makes a local CA and signs certificates with one command each. Its own README says it is meant for development purposes, not production. Its certificates last 2 years and 3 months, and you make new ones by hand when they expire. Its latest release, v1.4.4, is from April 2022.
The README also warns that the rootCA-key.pem file gives complete power to intercept secure requests from your machine. If you use mkcert certificates on other devices, copy only the CA certificate to them. mkcert -CAROOT prints the folder that holds both files. Never copy the key.
The real cost: trusting your CA on every device
Caddy's documentation states the cost plainly: any client accessing the site without trusting Caddy's root CA certificate will show security errors. Making a certificate is easy. Installing the root on every client is the work, and some clients make it hard.
- iPhone and iPad. You install the root as a configuration profile in Settings. A downloaded profile is deleted if you do not install it within 8 minutes. Installing is not enough. Go to Settings > General > About > Certificate Trust Settings and turn on full trust for that root. Without this second step, the root is installed but not trusted for websites.
- Android. Apps that target Android 7.0 (API level 24) or higher do not trust user-added CAs by default. Only apps written for Android 6.0 and lower, or apps that opt in, accept your root. You can install it and still see certificate errors in many apps. Test each app you care about.
- Firefox. Since version 120, Firefox uses third-party roots from the operating system store by default on Windows, macOS and Android. Linux is not in that list. On Linux, check Firefox separately after you update the system store.
- TVs and streaming boxes. Do not assume a TV can install a private root CA. Check your TV maker's documentation before you rely on a private CA for anything you watch on a TV.
Then add every guest's phone, every new laptop and every reinstall. Each one needs the same steps. This is why the private CA route suits a lab used by one or two people, and why a household with many devices often does better with a domain it owns.
You can reduce the work in two ways. Put only admin tools on .internal and keep family services on a name you own. Or accept plain HTTP for one or two devices that cannot install a root, and understand that their traffic on the LAN is not encrypted. The trade-offs of that second option are in HTTP versus HTTPS on your own server.
The own-domain route: Let's Encrypt with DNS-01 and no open port
If you own example.com, use a subdomain such as home.example.com for the lab. Let's Encrypt signs names you can prove you control, and the DNS-01 challenge proves it without your server being reachable from the internet. The ACME client publishes a TXT record at _acme-challenge.<YOUR_DOMAIN>, Let's Encrypt looks it up in public DNS, and the certificate is issued. The HTTP-01 challenge can only be done on port 80, which means port 80 on your network must be reachable from the internet.
DNS-01 can also issue wildcard certificates, such as *.home.example.com. One wildcard covers every service, and it matters for privacy, as the next section shows.
Caddy needs a DNS provider plugin for this, because the standard image does not include one for your provider. Build one with the official builder image. This example uses Cloudflare:
FROM caddy:2.11.9-builder AS builder
RUN xcaddy build --with github.com/caddy-dns/cloudflare
FROM caddy:2.11.9
COPY --from=builder /usr/bin/caddy /usr/bin/caddyThe Cloudflare module needs an API token with Zone.Zone:Read and Zone.DNS:Edit permissions for the zone. Other providers use other modules and other settings, so read your provider's module README. In the Compose file, replace image: caddy:2.11.9 with build: . and pass the token as an environment variable named CF_API_TOKEN. Then the Caddyfile:
*.home.example.com {
tls {
dns cloudflare {env.CF_API_TOKEN}
}
abort
}
wiki.home.example.com {
reverse_proxy 192.168.1.20:3000
}The wildcard block makes Caddy manage *.home.example.com, and abort closes connections for any name you have not defined. Since Caddy 2.10, when Caddy manages a wildcard certificate, it uses that certificate for matching subdomains such as wiki.home.example.com instead of requesting a separate one. If you use Nginx or Apache instead of Caddy, get the same certificate with a wildcard certificate from Certbot and DNS-01.
Two limits are worth knowing. Let's Encrypt allows up to 50 certificates per registered domain every 7 days, and one wildcard keeps you far below that. Let's Encrypt has also announced shorter default certificate lifetimes: 64 days from 10 February 2027 and 45 days from 16 February 2028. Today the default is still 90 days. Automatic renewal handles both changes, but only if renewal works.
Keeping DNS API credentials on the server is a risk. Anyone who reads that token can change your DNS records. Limit the token to the one zone it needs. Let's Encrypt also allows you to delegate the challenge to another DNS zone with a CNAME or NS record, so the token never touches your main domain.
What Certificate Transparency logs reveal about your hostnames
Let's Encrypt submits every certificate it issues to Certificate Transparency (CT) logs. CT logs are public by design. RFC 6962 says log operators must not impose any conditions on retrieving or sharing data from the log. Anyone can search them.
So a certificate for vaultwarden.home.example.com tells the world that the name exists, and gives a strong hint about what runs behind it. That is the hidden price of a domain you own.
A wildcard certificate is the fix. With *.home.example.com, the logs show the wildcard and its parent domain, but not the individual names under it. Caddy's own documentation recommends a wildcard to avoid leaking sensitive subdomains to CT logs. Two caveats remain. The name a browser asks for is still visible in the TLS handshake on the network, unless ECH (Encrypted Client Hello) is in use. And a wildcard key is valid for every name under it, so protect the server that holds it.
One DNS rewrite feeding one reverse proxy
The layout is the same for every naming choice. One DNS answer sends every lab name to the reverse proxy, and the reverse proxy sends each name to the right app. In these examples, the reverse proxy is at 192.168.1.10.
For the own-domain route, this is split-horizon DNS: different answers inside and outside your network. Your LAN resolver answers *.home.example.com with a private address. The public DNS holds only the _acme-challenge TXT records. Nothing outside your house learns your internal addresses.
AdGuard Home
AdGuard Home v1.0.0 came out on 19 November 2026 with a rebuilt web interface, so older screenshots will not match. The rewrites are still under Filters > DNS rewrites.
- Open Filters > DNS rewrites and click Add DNS rewrite.
- Enter the domain
*.home.example.com. For ahome.arpalab, use*.home.arpainstead. - Enter
192.168.1.10as the answer. An IP address is returned as an A or AAAA answer. A domain name is returned as a CNAME. - Save the rewrite.
A wildcard rewrite starts with *. and matches subdomains only. *.home.example.com does not match home.example.com itself, so add a second, exact rewrite if you need the bare name. Exact entries take precedence over wildcard entries, which means you can also send one single name somewhere else.
Pi-hole
In the Pi-hole web interface, local records are under Settings > Local DNS Records. Each record names a host in hosts-file form, an IP followed by hostnames, so you add wiki.home.example.com and photos.home.example.com one at a time.
For a wildcard, Pi-hole can pass a raw line to its embedded dnsmasq. The line address=/home.example.com/192.168.1.10 returns that IP for the name and every host under it. The setting that holds such lines, misc.dnsmasq_lines, cannot be set through the API. Set it on the host:
sudo pihole-FTL --config misc.dnsmasq_lines '["address=/home.example.com/192.168.1.10"]'The command sets the whole array, so include any lines you already have. In Docker, set the environment variable FTLCONF_misc_dnsmasq_lines to the same line. Pi-hole's documentation warns that a badly formatted or conflicting line here can stop DNS resolution completely. With an IPv4 address in that line, queries for other record types, such as AAAA, are sent upstream (dnsmasq 2.86 and later). If you have not picked a resolver yet, compare them in Pi-hole versus AdGuard Home.
Check the chain
From a client that uses your resolver (here at 192.168.1.2):
dig +short wiki.home.example.com @192.168.1.2
curl -sSI https://wiki.home.example.comdig should print 192.168.1.10. curl should print the app's HTTP headers. If dig prints nothing, the rewrite does not match the name. Run the same check against wiki.internal on a client that does not have your root yet, and curl stops with SSL certificate problem: unable to get local issuer certificate. DNS works in that case. The client does not trust your CA, so install the root as shown above. If an old answer keeps coming back after you change a rewrite, flush the DNS cache on Ubuntu before you look for other causes. To choose the proxy itself, see Nginx, Caddy and Traefik compared as reverse proxies.
Why does the rewrite work on the laptop but not the phone?
A rewrite only helps devices that ask your resolver. Some devices ask someone else.
- Browsers with a custom secure DNS provider. Chrome's secure DNS is on in automatic mode by default, and in that mode it does not change the DNS provider. If someone set a custom provider, such as a public DNS-over-HTTPS service, the browser can ask that provider instead, and your local rewrite is not seen.
- Android Private DNS. It defaults to Automatic, which uses the network's DNS server. If a phone has a provider hostname set instead, its queries go to that provider, and your lab names do not resolve on that phone.
- VPN clients. A device connected to a VPN often uses the VPN's resolver. If you reach the lab over WireGuard, point the tunnel at your LAN resolver, as shown in fixing DNS over a WireGuard tunnel.
There is one more trap if you skip split-horizon and publish private addresses in public DNS instead. Some routers enable DNS rebind protection, which rejects answers from upstream servers that point to private address ranges. OpenWrt's default dnsmasq configuration has it on. The public record exists, but the router drops the answer, so the name does not resolve. Answering lab names from your own resolver avoids this, because rebind protection applies to answers from upstream, not to the resolver's own local records.
FAQ
Is .internal an official name for private networks?
It is reserved, through an ICANN decision. ICANN's Board permanently reserved .INTERNAL from delegation in the DNS root zone, for private use, on 29 July 2024 (resolution 2024.07.29.06). IANA's Special-Use Domain Names registry does not list it, so software is not required to treat it specially. In practice, your own resolver answers .internal names and the public DNS never will.
Can I get a Let's Encrypt certificate for .internal or home.arpa?
No. Public CAs follow the CA/Browser Forum Baseline Requirements, which forbid Internal Names in certificates. .internal is not in the public root zone, and home.arpa is shared by every home that uses it, so nobody can prove control of either. Use a private CA such as Caddy's local CA or step-ca, or use a subdomain of a domain you own with the DNS-01 challenge.
Should I pick .internal or home.arpa?
Both need a private CA for HTTPS, and both work with a local DNS rewrite. home.arpa (RFC 8375) has an insecure delegation in the public DNS, so DNSSEC-validating resolvers accept your local answers. An IETF draft warns that validating resolvers using the global trust anchor will fail to resolve .internal names. If any device on your network validates DNSSEC itself, home.arpa is the safer choice. Otherwise .internal is shorter to type.
Why does my .local name work on one device but not another?
.local belongs to multicast DNS (RFC 6762), and the RFC says resolvers should not send .local queries to a normal DNS server. Linux with systemd-resolved sends multi-label .local names to multicast DNS by default, and Apple warns that its devices might not open an internal .local domain. So a .local rewrite in AdGuard Home or Pi-hole is asked by some devices and skipped by others. Move the names to .internal, home.arpa or a subdomain you own.
Does a wildcard certificate hide my homelab services?
It hides the individual names from Certificate Transparency logs, which are public. The logs still show *.home.example.com and the parent domain. The name each browser asks for is still visible in the TLS handshake unless Encrypted Client Hello is used. Your internal IP addresses stay private if only your LAN resolver answers for those names.