English
local
The system resolver: /etc/hosts, then the servers of /etc/resolv.conf. The value is a settings block or empty. Queries for link-local zones (.local) go to mdns.
Fields
| Field | Meaning |
|---|---|
prefer_go | Accepted for compatibility; does not change behavior, check warns |
neighbor_domain | Suffixes like .lan: names of clients from DHCP leases (route.dhcp_lease_files) in these zones are answered with their addresses. A value without a leading dot is an error |
skip_adblock | true means adblock does not filter queries to it; the field exists only if the module is in the build |
via and dial work as in DNS upstreams.
Example
yaml
dns:
upstreams:
system:
local:
neighbor_domain: [.lan]
final:
upstream: systemBuild key: dns.local, see Build your own.