162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Configuration for DNS Resolver
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig DNS_RESOLVER
662306a36Sopenharmony_ci	tristate "DNS Resolver support"
762306a36Sopenharmony_ci	depends on KEYS
862306a36Sopenharmony_ci	help
962306a36Sopenharmony_ci	  Saying Y here will include support for the DNS Resolver key type
1062306a36Sopenharmony_ci	  which can be used to make upcalls to perform DNS lookups in
1162306a36Sopenharmony_ci	  userspace.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci	  DNS Resolver is used to query DNS server for information.  Examples
1462306a36Sopenharmony_ci	  being resolving a UNC hostname element to an IP address for CIFS or
1562306a36Sopenharmony_ci	  performing a DNS query for AFSDB records so that AFS can locate a
1662306a36Sopenharmony_ci	  cell's volume location database servers.
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci	  DNS Resolver is used by the CIFS and AFS modules, and would support
1962306a36Sopenharmony_ci	  SMB2 later.  DNS Resolver is supported by the userspace upcall
2062306a36Sopenharmony_ci	  helper "/sbin/dns.resolver" via /etc/request-key.conf.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci	  See <file:Documentation/networking/dns_resolver.rst> for further
2362306a36Sopenharmony_ci	  information.
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci	  To compile this as a module, choose M here: the module will be called
2662306a36Sopenharmony_ci	  dnsresolver.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci	  If unsure, say N.
29