Data Structures |
| struct | DNSHEADER |
| struct | DNSQUESTION |
| struct | DNSRESOURCE |
Functions |
| void | DumpDnsHeader (FILE *stream, DNSHEADER *doh) |
| void | DumpDnsQuestion (FILE *stream, DNSQUESTION *doq) |
| void | DumpDnsResource (FILE *stream, DNSRESOURCE *dor) |
| void | NutDnsConfig (const uint8_t *hostname, const uint8_t *domain, uint32_t dnsip) |
| | Sets DNS configuration.
|
| void | NutDnsGetConfig2 (char **hostname, char **domain, uint32_t *pdnsip, uint32_t *sdnsip) |
| uint32_t | NutDnsGetResource (const uint8_t *hostname, const uint16_t type) |
| | Retrieves IP-address corresponding to a host name.
|
| uint32_t | NutDnsGetHostByName (const uint8_t *hostname) |
| uint8_t | NutDnsGetResourceAll (const uint8_t *hostname, const uint16_t type, uint32_t *ip_all) |
| | Retrieves all IP-address corresponding to a host name.
|
| uint8_t | NutDnsGetHostsByName (const uint8_t *hostname, uint32_t *ip_all) |
| uint32_t | NutDnsGetMxByDomain (const uint8_t *hostname) |
Variables |
| DNSCONFIG | confdns |