NetBurner Domain Name Server Header File. More...
#include <nettypes.h>
Go to the source code of this file.
Macros | |
#define | DNS_OK (0) |
Success. | |
#define | DNS_TIMEOUT (1) |
Request timed out. | |
#define | DNS_NOSUCHNAME (2) |
Name not found. | |
#define | DNS_ERR (3) |
Other error. | |
#define | DNS_A 1 |
32-bit IPv4 address | |
#define | DNS_CNAME 5 |
Canonical name record. | |
#define | DNS_MB 7 |
Mailing list subscriber list. | |
#define | DNS_MG 8 |
Mailing list subscriber list. | |
#define | DNS_MX 15 |
Mail exchange record. | |
#define | DNS_AAAA 28 |
128-bit IPv6 address | |
Functions | |
int | GetHostByName4 (const char *name, IPADDR4 *pIpaddr, IPADDR4 dns_server, uint16_t timeout, uint16_t TYPE=DNS_A) |
Get the IPv4 address associated with the specified domain name. More... | |
int | GetHostByName6 (const char *name, IPADDR *pIpaddr, const IPADDR &dns_server, uint16_t timeout, uint16_t TYPE1=DNS_A, uint16_t TYPE2=DNS_AAAA) |
Get the IPv6 address associated with the specified domain name. More... | |
NetBurner Domain Name Server Header File.