How a name resolves
Teal is the client, ink is the resolver edge (Technitium and the gateway), coral is everything beyond the network boundary. Both resolver paths terminate at the same encrypted upstreams — Cloudflare and Google over DNS-over-HTTPS.Split-horizon resolution
Technitium is authoritative for the internal subdomain only — a child zone that holds every infrastructure A-record and service alias. A query for a name under that subdomain is answered locally and never leaves the network. That is what makes the DNS-first addressing model work: guests are referenced by{hostname}.{subdomain} and DNS owns the actual
DHCP-leased address.
Everything else — the public apex and the open internet — is forwarded
upstream. Technitium is not authoritative for those names; it caches and
relays them. DNS sits on its own dedicated network (VLAN 53), so resolution is
isolated from the trust-ordered service tiers it serves.
Public DNS carries no internal addressing
The public DNS zone never publishes an internal host’s private address. Names under the internal subdomain resolve on the LAN only, through Technitium; the public zone holds no matching A records for them. Publicly-trusted TLS certificates for internal services are still issued normally — via a Let’s-Encrypt DNS-01 challenge that only ever needs to write a public_acme-challenge TXT record, never the service’s actual address. The
separate public-facing sites (the apex/www site and this docs site) are
unrelated to the internal zone and unaffected by any of this.
Encrypted upstream forwarding
External forwarding is hardened along two axes:- DNS-over-HTTPS (DoH). The resolver-to-upstream hop is encrypted, so
forwarded queries are not sent in plaintext. The upstreams are Cloudflare
(
1.1.1.1) and Google (8.8.8.8), matching what the UniFi gateway already uses for its own Encrypted-DNS path. Each DoH endpoint carries a bootstrap IP so the resolver connects to it directly instead of resolving the DoH hostname through itself, while still validating the TLS certificate against the hostname. - Client subnet withheld. EDNS Client Subnet is disabled, so the resolver does not attach any client-network information to forwarded queries. Upstream resolvers see the query, not who or where it came from.
What this connects to
- VMID & network tier model — DNS-first addressing and where the DNS network (VLAN 53) sits among the tiers.
- Self-hosted ChatGPT — an example of a service name that resolves through Technitium and is fronted by Traefik over TLS.
- tofu-unifi — the gateway, WAN, and zone configuration that surrounds the resolver.