pub unsafe extern "C" fn otDnssdUpstreamQuerySetEnabled(
aInstance: *mut otInstance,
aEnabled: bool,
)
Expand description
Enable or disable forwarding DNS queries to platform DNS upstream API.
Available when OPENTHREAD_CONFIG_DNS_UPSTREAM_QUERY_ENABLE
is enabled.
@param[in] aInstance A pointer to an OpenThread instance. @param[in] aEnabled A boolean to enable/disable forwarding DNS queries to upstream.
@sa otPlatDnsStartUpstreamQuery @sa otPlatDnsCancelUpstreamQuery @sa otPlatDnsUpstreamQueryDone