Represents a DNS query configuration.

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#

Server address (IPv6 addr/port). All zero or zero port for unspecified.

uint32_t

Wait time (in msec) to rx response. Zero indicates unspecified value.

uint8_t

Maximum tx attempts before reporting failure. Zero for unspecified value.

Indicates whether the server can resolve the query recursively or not.

Allow/Disallow NAT64 address translation during address resolution.

Determines which records to query during service resolution.

Select default transport protocol.

Public Attribute Documentation#

mServerSockAddr#

otSockAddr otDnsQueryConfig::mServerSockAddr

Server address (IPv6 addr/port). All zero or zero port for unspecified.


Definition at line 122 of file include/openthread/dns_client.h

mResponseTimeout#

uint32_t otDnsQueryConfig::mResponseTimeout

Wait time (in msec) to rx response. Zero indicates unspecified value.


Definition at line 123 of file include/openthread/dns_client.h

mMaxTxAttempts#

uint8_t otDnsQueryConfig::mMaxTxAttempts

Maximum tx attempts before reporting failure. Zero for unspecified value.


Definition at line 124 of file include/openthread/dns_client.h

mRecursionFlag#

otDnsRecursionFlag otDnsQueryConfig::mRecursionFlag

Indicates whether the server can resolve the query recursively or not.


Definition at line 125 of file include/openthread/dns_client.h

mNat64Mode#

otDnsNat64Mode otDnsQueryConfig::mNat64Mode

Allow/Disallow NAT64 address translation during address resolution.


Definition at line 126 of file include/openthread/dns_client.h

mServiceMode#

otDnsServiceMode otDnsQueryConfig::mServiceMode

Determines which records to query during service resolution.


Definition at line 127 of file include/openthread/dns_client.h

mTransportProto#

otDnsTransportProto otDnsQueryConfig::mTransportProto

Select default transport protocol.


Definition at line 128 of file include/openthread/dns_client.h