Skip to main content

DNS

CoreDNS is an extensible golang dns server. It powers kubernetes and many other services today. The server is configured to use DNS over HTTPS upstream for all requests and handles DNS for wireguard and wifi clients.

The DNS Service runs off CoreDNS with custom plugins

DNS Configuration Files:

Local Mappings

CoreDNS is configured to use Local Mappings of names from DHCP. If a device DHCPs with a client name of "test", "test.lan" resolves with the LAN IP address.

hosts /state/dns/local_mappings {
ttl 60
reload 30s
fallthrough
}

DNS over HTTPS

The config for SPR is using DNS over HTTPS by default for all upstream requests.

dns over https

⇨ View the code