Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

DNS

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

DNS maps static and easily human readable textual (rather than numerical) names to IPv4 or IPv6 IP addresses. A domain name server resolves the text domain name to the appropriate IP address. For example, entering "ping www.freertos.org" 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.org" 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.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.