Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
DNS
[User Protocols]
Collaboration diagram for DNS:
|
Detailed Description
Domain name service protocol.
Data Structures | |
| struct | DNSCONFIG |
| struct | DNSHEADER |
| struct | DNSQUESTION |
| struct | DNSRESOURCE |
Functions | |
| void | NutDnsConfig2 (u_char *hostname, u_char *domain, u_long pdnsip, u_long sdnsip) |
| Set DNS configuration. | |
| void | NutDnsConfig (u_char *hostname, u_char *domain, u_long dnsip) |
| Sets DNS configuration. | |
| u_long | NutDnsGetResource (CONST u_char *hostname, CONST u_short type) |
| Retrieves IP-address corresponding to a host name. | |
| u_long | NutDnsGetHostByName (CONST u_char *hostname) |
| u_long | NutDnsGetMxByDomain (CONST u_char *hostname) |
Function Documentation
|
||||||||||||||||
|
Sets DNS configuration.
|
|
||||||||||||||||||||
|
Set 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.
|