The Domain Name Service associates host names (such as www.microchip.com) with IP addresses (such as 10.0.54.2). The DNS Client module provides DNS resolution capabilities to the stack.
TCP applications do not need to use the DNS module. Any necessary DNS operations can be handled by the TCPOpen function. Applications built using UDP may need to use DNS when the IP address of the remote server is unknown.
DNS resolution operations follow a simple state machine, as indicated in the diagram below.
Topics
Name |
Description |
Functions and variables accessible by the stack application | |
Functions and variables internal to the DNS module |