18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 28c2ecf20Sopenharmony_ci# 38c2ecf20Sopenharmony_ci# Configuration for DNS Resolver 48c2ecf20Sopenharmony_ci# 58c2ecf20Sopenharmony_ciconfig DNS_RESOLVER 68c2ecf20Sopenharmony_ci tristate "DNS Resolver support" 78c2ecf20Sopenharmony_ci depends on NET && KEYS 88c2ecf20Sopenharmony_ci help 98c2ecf20Sopenharmony_ci Saying Y here will include support for the DNS Resolver key type 108c2ecf20Sopenharmony_ci which can be used to make upcalls to perform DNS lookups in 118c2ecf20Sopenharmony_ci userspace. 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci DNS Resolver is used to query DNS server for information. Examples 148c2ecf20Sopenharmony_ci being resolving a UNC hostname element to an IP address for CIFS or 158c2ecf20Sopenharmony_ci performing a DNS query for AFSDB records so that AFS can locate a 168c2ecf20Sopenharmony_ci cell's volume location database servers. 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci DNS Resolver is used by the CIFS and AFS modules, and would support 198c2ecf20Sopenharmony_ci SMB2 later. DNS Resolver is supported by the userspace upcall 208c2ecf20Sopenharmony_ci helper "/sbin/dns.resolver" via /etc/request-key.conf. 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci See <file:Documentation/networking/dns_resolver.rst> for further 238c2ecf20Sopenharmony_ci information. 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci To compile this as a module, choose M here: the module will be called 268c2ecf20Sopenharmony_ci dnsresolver. 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci If unsure, say N. 29