otDnsQueryConfig
#include <dns_client.h>
This structure represents a DNS query configuration.
Summary
Any of the fields in this structure can be set to zero to indicate that it is not specified. How the unspecified fields are treated is determined by the function which uses the instance of otDnsQueryConfig
.
Public attributes |
|
---|---|
mMaxTxAttempts
|
uint8_t
Maximum tx attempts before reporting failure. Zero for unspecified value.
|
mNat64Mode
|
Allow/Disallow NAT64 address translation during address resolution.
|
mRecursionFlag
|
Indicates whether the server can resolve the query recursively or not.
|
mResponseTimeout
|
uint32_t
Wait time (in msec) to rx response. Zero indicates unspecified value.
|
mServerSockAddr
|
Server address (IPv6 address/port). All zero or zero port for unspecified.
|
Public attributes
mMaxTxAttempts
uint8_t otDnsQueryConfig::mMaxTxAttempts
Maximum tx attempts before reporting failure. Zero for unspecified value.
mNat64Mode
otDnsNat64Mode otDnsQueryConfig::mNat64Mode
Allow/Disallow NAT64 address translation during address resolution.
mRecursionFlag
otDnsRecursionFlag otDnsQueryConfig::mRecursionFlag
Indicates whether the server can resolve the query recursively or not.
mResponseTimeout
uint32_t otDnsQueryConfig::mResponseTimeout
Wait time (in msec) to rx response. Zero indicates unspecified value.
mServerSockAddr
otSockAddr otDnsQueryConfig::mServerSockAddr
Server address (IPv6 address/port). All zero or zero port for unspecified.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.