1.. _dns_resolve_interface:
2
3DNS Resolve
4###########
5
6.. contents::
7    :local:
8    :depth: 2
9
10Overview
11********
12
13The DNS resolver implements a basic DNS resolver according
14to `IETF RFC1035 on Domain Implementation and Specification <https://tools.ietf.org/html/rfc1035>`_.
15Supported DNS answers are IPv4/IPv6 addresses and CNAME.
16
17If a CNAME is received, the DNS resolver will create another DNS query.
18The number of additional queries is controlled by the
19:kconfig:option:`CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES` Kconfig variable.
20
21The multicast DNS (mDNS) client resolver support can be enabled by setting
22:kconfig:option:`CONFIG_MDNS_RESOLVER` Kconfig option.
23See `IETF RFC6762 <https://tools.ietf.org/html/rfc6762>`_ for more details
24about mDNS.
25
26The link-local multicast name resolution (LLMNR) client resolver support can be
27enabled by setting the :kconfig:option:`CONFIG_LLMNR_RESOLVER` Kconfig variable.
28See `IETF RFC4795 <https://tools.ietf.org/html/rfc4795>`_ for more details
29about LLMNR.
30
31For more information about DNS configuration variables, see:
32:zephyr_file:`subsys/net/lib/dns/Kconfig`. The DNS resolver API can be found at
33:zephyr_file:`include/zephyr/net/dns_resolve.h`.
34
35Sample usage
36************
37
38See :zephyr:code-sample:`dns-resolve` sample application for details.
39
40API Reference
41*************
42
43.. doxygengroup:: dns_resolve
44