DNS
A caching DNS server that forwards queries to upstream nameservers, and responds with local hostnames.
The DNS server resolves queries using the following methods:
- Lookup the local cache of previous DNS replies.
- Reply with hostnames discovered from DHCP leases.
- Reply with hostnames configured in System / DNS / Hostnames, and additional sources of hostname/address associations such as Connected hosts and Compute / Containers.
- Forward to DNS servers discovered by DHCP clients and SLAAC/DHCPv6 clients.
- Forward to DNS servers configured in System / DNS / DNS servers.
When the DNS server is enabled and a DHCP server's DNS option mode is set to Automatic DNS servers, the DHCP server provides clients with the address of this DNS server rather than the upstream DNS servers.
- Access control list - The set of interfaces that the service is accessible from.
Properties
Enable
Enable the DNS service.
- Data type: boolean
- Default:
false - Configuration
CLI: (cli)> config service dns enable
Allow DNS rebind
Allow addresses in private ranges from upstream nameservers.
- Data type: boolean
- Default:
false - Configuration
CLI: (cli)> config service dns dns-rebind
