connectivity/networking/api/dns_resolve.html · connectivity/networking/api/dns_resolve.rst 공식 원문 ↗

Zephyr 3.7.0 · Connectivity · Networking API

DNS Resolve

IPv4·IPv6·CNAME을 해석하고 선택적으로 mDNS와 LLMNR을 사용합니다.

Official pathconnectivity/networking/api/dns_resolve.html
Source fileconnectivity/networking/api/dns_resolve.rst
Source versionZephyr 3.7.0
TranslationFull · reviewed

본문 기준: Zephyr 3.7.0 LTS3 · 이후 유지보수 패치는 별도입니다.

Part 1

요약·해설

RFC 1035 기반 DNS answer, CNAME 추가 query 제한, mDNS·LLMNR Kconfig와 API 위치를 설명합니다.

Answers

IPv4 · IPv6 · CNAME

Local

mDNS · LLMNR

API

dns_resolve

Part 2

접을 수 있는 영어 원문 전체

영어 원문 전체 펼치기
원문 SHA-256 73E9392966D122E1076EEA50919351DFCD0A03720A3DEB55A247A6A6FCF30481
.. _dns_resolve_interface:

DNS Resolve
###########

.. contents::
    :local:
    :depth: 2

Overview
********

The DNS resolver implements a basic DNS resolver according
to `IETF RFC1035 on Domain Implementation and Specification <https://tools.ietf.org/html/rfc1035>`_.
Supported DNS answers are IPv4/IPv6 addresses and CNAME.

If a CNAME is received, the DNS resolver will create another DNS query.
The number of additional queries is controlled by the
:kconfig:option:`CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES` Kconfig variable.

The multicast DNS (mDNS) client resolver support can be enabled by setting
:kconfig:option:`CONFIG_MDNS_RESOLVER` Kconfig option.
See `IETF RFC6762 <https://tools.ietf.org/html/rfc6762>`_ for more details
about mDNS.

The link-local multicast name resolution (LLMNR) client resolver support can be
enabled by setting the :kconfig:option:`CONFIG_LLMNR_RESOLVER` Kconfig variable.
See `IETF RFC4795 <https://tools.ietf.org/html/rfc4795>`_ for more details
about LLMNR.

For more information about DNS configuration variables, see:
:zephyr_file:`subsys/net/lib/dns/Kconfig`. The DNS resolver API can be found at
:zephyr_file:`include/zephyr/net/dns_resolve.h`.

Sample usage
************

See :zephyr:code-sample:`dns-resolve` sample application for details.

API Reference
*************

.. doxygengroup:: dns_resolve

Part 3

한국어 전문 번역

DNS Resolve

Overview

DNS resolver는 IETF RFC 1035, Domain Names - Implementation and Specification에 따른 기본 DNS 이름 해석 기능을 구현합니다. 지원하는 DNS answer는 IPv4 address, IPv6 address, CNAME입니다.

CNAME을 받으면 DNS resolver가 새 DNS query를 생성합니다. 이때 허용할 추가 query 수는 CONFIG_DNS_RESOLVER_ADDITIONAL_QUERIES Kconfig 변수로 제어합니다.

Multicast DNS(mDNS) client resolver 지원은 CONFIG_MDNS_RESOLVER Kconfig option을 설정해 활성화할 수 있습니다. mDNS의 자세한 내용은 IETF RFC 6762를 참고합니다.

Link-Local Multicast Name Resolution(LLMNR) client resolver 지원은 CONFIG_LLMNR_RESOLVER Kconfig 변수를 설정해 활성화할 수 있습니다. LLMNR의 자세한 내용은 IETF RFC 4795를 참고합니다.

DNS configuration 변수에 관한 추가 정보는 subsys/net/lib/dns/Kconfig에서 확인할 수 있습니다. DNS resolver API는 include/zephyr/net/dns_resolve.h에 있습니다.

Sample usage

dns-resolve sample application에서 자세한 사용법을 확인할 수 있습니다.

API Reference

Doxygen group dns_resolve가 API reference를 제공합니다.

Source

출처

영어 원문에는 문단, 문서 지시문, 표, 코드, 코드 심벌, 경로를 그대로 보존했습니다.