1.1.14 Client - DNS APIs

This interface supports configuring and using the DNS client within the WINCS02 device.

The DNS servers used by the device can be configured statically by the application using the function WDRV_WINC_DNSServerAddressSet or through DHCP/NDP. To configure static vs auto assignment of DNS servers the function WDRV_WINC_DNSAutoSet can be called.

Once connected to a Wi-Fi network and DNS servers have been assigned, either statically or through auto assignment, the application can use the function WDRV_WINC_DNSResolveDomain to resolve hostnames to IP addresses. The resolved IP address information, or error responses, will be supplied through the registered WDRV_WINC_DNS_RESOLVE_CALLBACK type callback, one call for each address resolved.