Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Updated Mar 2025

DNS

DNS stands for Domain Name Systemexternal_link, which is a form of domain name resolution.

DNS maps static and easily human readable textual (rather than numerical) names to IP addresses. A domain name server resolves the text domain name to the appropriate IP address. For example, entering "ping www.freertos.orgexternal_link" in the command console of a desktop computer will show a ping request being sent to the IP address 195.8.66.1 (at the time of writing - the IP address may change) because a DNS server resolved the string "www.freertos.orgexternal_link" to the IP address 195.8.66.1.

If ipconfigUSE_DNS is set to 1 in FreeRTOSIPConfig.h then the FreeRTOS-Plus-TCP API function FreeRTOS_gethostbyname() can be used to resolve a text name to an IP address.

Like the IP address of the node running FreeRTOS-Plus-TCP, the IP address of a domain name server can be configured either statically as a parameter to FreeRTOS_FillEndPoint(), or FreeRTOS_FillEndPoint_IPv6, or dynamically from a DHCP server.