- API Reference
- Box API
- Network
Read the DNS servers used by the box and by the proxies
Returns the system DNS list, the DNS list the proxies resolve with, whether proxies use the modem's DNS, and whether VPN clients get the modem DNS.
GET
/update_dns_configAuthentication
Needs a trusted caller (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) or valid dashboard Basic credentials, which are checked only when dashboard authentication is enabled.
Responses
DNS settings.
statusbooleanoptional
dataobjectoptional
data.dns_system_liststring | nulloptional
System resolvers, comma separated.
data.dns_proxy_liststring | nulloptional
Resolvers the proxies use, comma separated.
data.using_modem_dnsbooleanoptional
data.vpn_force_reload_dns_serverbooleanoptional
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.