zephyr/subsys/net/lib/dns
Jukka Rissanen d31fa5b87c net: dns: Set the address family and address length correctly
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>
2017-04-13 15:21:43 +03:00
..
dns_client.c
dns_pack.c
dns_pack.h
Kconfig net: dns: Initialize DNS resolver if DNS servers are set 2017-03-24 17:31:42 +02:00
Makefile net: dns: Add resolve API 2017-03-24 17:31:42 +02:00
README
resolve.c net: dns: Set the address family and address length correctly 2017-04-13 15:21:43 +03:00

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.