![]() |
0.01.00
|
This file defines the top-level dns functions for the OpenThread library. More...
Go to the source code of this file.
Classes | |
| struct | otDnsQuery |
| This structure implements DNS Query parameters. More... | |
Macros | |
| #define | OT_DNS_MAX_HOSTNAME_LENGTH 62 |
| Maximum allowed hostname length (maximum label size - 1 for compression). | |
| #define | OT_DNS_DEFAULT_DNS_SERVER_IP "2001:4860:4860::8888" |
| Defines default DNS Server address - Google DNS. | |
| #define | OT_DNS_DEFAULT_DNS_SERVER_PORT 53 |
| Defines default DNS Server port. | |
Typedefs | |
| typedef struct otDnsQuery | otDnsQuery |
| This structure implements DNS Query parameters. | |
| typedef void(* | otDnsResponseHandler) (void *aContext, const char *aHostname, otIp6Address *aAddress, uint32_t aTtl, otError aResult) |
| This function pointer is called when a DNS response is received. More... | |
Functions | |
| otError | otDnsClientQuery (otInstance *aInstance, const otDnsQuery *aQuery, otDnsResponseHandler aHandler, void *aContext) |
| This function sends a DNS query for AAAA (IPv6) record. More... | |
This file defines the top-level dns functions for the OpenThread library.