Skip to main content

dns-server

Specifies the DNS servers used by the application for domain name resolution.

Example

# Specifies multiple DNS servers, including a system default and a custom port
dns-server = system, 8.8.8.8, 8.8.4.4, 9.9.9.9:9953

Format

dns-server = system, {dns server}[:port], ...
  • Port definition is optional; the default is 53.
  • system means use system DNS.
tip
  • If dns-server is not specified, system will be used.
  • Currently, DoT is not supported.