Most applications should use domain_name_cache.h, which uses an internal cache to perform lookups quickly.
Go to the source code of this file.
Defines | |
#define | DOMAIN_NAME_MAX 256 |
Maximum number of characters in a domain name or address. | |
Functions | |
int | domain_name_lookup (const char *name, char *addr) |
Resolve a domain name to an IP address. | |
int | domain_name_lookup_reverse (const char *addr, char *name) |
Resolve an IP address to a domain name with caching. |
|
Maximum number of characters in a domain name or address.
|
|
Resolve a domain name to an IP address.
|
|
Resolve an IP address to a domain name with caching.
|