Skip to main content

List DNS servers

GET 

/network/dns/:interfaceName

Retrieve the list of currently configured DNS servers for a specific network interface.

Request

Path Parameters

    interfaceName stringrequired

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

Responses

List of DNS servers.

Schema

    servers string[]

    List of configured DNS servers.

    search_domains string[]

    List of search domains.

Loading...