template <>

class WireWeakSyncClientImpl

Defined at line 1729 of file fidling/gen/sdk/fidl/fuchsia.net.name/fuchsia.net.name/cpp/fidl/fuchsia.net.name/cpp/wire_messaging.h

Public Methods

::fidl::WireResult< ::fuchsia_net_name::LookupAdmin::SetDnsServers> SetDnsServers (::fidl::VectorView< ::fuchsia_net::wire::SocketAddress> servers)

Sets the DNS servers to `servers`

+ request `servers` The list of servers to use for domain name resolution, in priority

order. An empty list means no servers will be used and name resolution may fail. Each

`SocketAddress` in `servers` must be a valid unicast socket address. The list of servers

will be deduplicated.

* error Returns `ZX_ERR_INVALID_ARGS` if any of the provided addresses does not meet the

conditions above.

Allocates 32 bytes of response buffer on the stack. Request is heap-allocated.

::fidl::WireResult< ::fuchsia_net_name::LookupAdmin::GetDnsServers> GetDnsServers ()

Gets the DNS servers currently in use to resolve name lookups.

- response `servers` The list of servers in use by `LookupAdmin`, in priority order.

Allocates 16 bytes of request buffer on the stack. Response is heap-allocated.