pub unsafe extern "C" fn otDnsClientGetDefaultConfig(
aInstance: *mut otInstance,
) -> *const otDnsQueryConfig
Expand description
Gets the current default query config used by DNS client.
When OpenThread stack starts, the default DNS query config is determined from a set of OT config options such as
OPENTHREAD_CONFIG_DNS_CLIENT_DEFAULT_SERVER_IP6_ADDRESS
, _DEFAULT_SERVER_PORT
, _DEFAULT_RESPONSE_TIMEOUT
, etc.
(see config/dns_client.h
for all related config options).
@param[in] aInstance A pointer to an OpenThread instance.
@returns A pointer to the current default config being used by DNS client.