zephyr/lib/iot/dns
Ravi kumar Veeramally c689fd6f1a net: Rename net_nbuf_write to net_nbuf_append
Current net_nbuf_write() api just appends data to last fragment. And
doesn't write data based on offset. That's why renaming this api.

New net_nbuf_write() apis based on offset will be coming soon.

Change-Id: Ie8e13e5f6091a279b62b6d8b0b3928a5187e75b0
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
2016-12-02 12:40:51 +02:00
..
Kconfig
Makefile
README
dns_client.c net: Rename net_nbuf_write to net_nbuf_append 2016-12-02 12:40:51 +02:00
dns_pack.c
dns_pack.h

README

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.

'dnsX_resolve_quick' routines just return the first IP address.
However, domain names may be served by more IP addresses, so
'dnsX_resolve' routines may be more useful.

See samples/net/dns_client/src/main.c.