MyNixOS website logo

List of upstream DNS servers to forward queries to. If empty, dnsmasq will use the servers from /etc/resolv.conf. Each entry can be:

  • An IP address (e.g., "1.2.3.4")
  • A domain-specific server (e.g., "/example.com/1.2.3.4")
  • A server with port (e.g., "1.2.3.4#5353") See dnsmasq(8) man page for --server option for full syntax.
Declarations
    Type
    list of string
    Default
    [ ]
    Example
    [
      "8.8.8.8"
      "8.8.4.4"
      "/internal.example.com/192.168.1.1"
    ]