mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 21:52:26 +00:00
We need to set the resolved IP address family and length before calling the user callback so that callback does not need to figure out these values itself. Change-Id: I724909fc1707608ab8728231a0311795b6a313f3 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> |
||
---|---|---|
.. | ||
dns_client.c | ||
dns_pack.c | ||
dns_pack.h | ||
Kconfig | ||
Makefile | ||
README | ||
resolve.c |
DNS Client API for Zephyr ========================= Known limitations: - Synchronous queries - Only IPv4 and IPv6 records can be handled - Minimal protocol validation. If you do not trust your DNS server, it is time to change it :) Usage: Before calling the resolver, it must be initialized via the 'dns_init' routine. See samples/net/dns_client/src/main.c.