Data Structures | |
struct | DNSCONFIG |
struct | DNSHEADER |
struct | DNSQUESTION |
struct | DNSRESOURCE |
Functions | |
void | NutDnsConfig (u_char *hostname, u_char *domain, u_long dnsip) |
Sets DNS configuration. | |
u_long | NutDnsGetHostByName (CONST u_char *hostname) |
Retrieves IP-address corresponding to a host name. |
|
Sets DNS configuration.
|
|
Retrieves IP-address corresponding to a host name. This is a very simple implementation, which will not return any other resource information than the IP address.
|