Skip to main content

Get the DNS resolvers of an interface

GET 

/api/node/:hostname/network/dns/:interface_name

Reads the servers and the search domains of the interface: resolvectl on Linux, with resolv.conf on a host that has no resolvers per interface, such as a container, and scutil on macOS.

Request​

Responses​

Each target host's result.