Skip to main content

Update DNS servers

PUT 

/network/dns

Update the system's DNS server configuration.

Request

Body

required

    servers string[]

    New list of DNS servers to configure.

    search_domains string[]

    New list of search domains to configure.

    interface_name string

    The name of the network interface to apply DNS configuration to. Must only contain letters and numbers.

Responses

DNS servers update successfully accepted.

Loading...