Collaboration diagram for DNS:
Detailed Description
Domain name service protocol.
Function Documentation
|
|
Sets DNS configuration.
- Deprecated:
- New applications should use NutDnsConfig2().
- Parameters:
-
| hostname | DNS name of the local host. |
| domain | Name of the domain of the local host. |
| dnsip | IP address of the DNS server. |
- Examples:
-
inetq/inetq.c.
|
|
|
Set DNS configuration.
- Parameters:
-
| hostname | DNS name of the local host. |
| domain | Name of the domain of the local host. |
| pdnsip | IP address of the primary DNS server. |
| sdnsip | IP address of the secondary DNS server. |
|
|
|
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.
- Parameters:
-
| hostname | Fully qualified domain name of the host. |
- Returns:
- IP address, which is zero, if the name could not be resolved.
|