xref: /OK3568_Linux_fs/kernel/net/dns_resolver/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Configuration for DNS Resolver
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunconfig DNS_RESOLVER
6*4882a593Smuzhiyun	tristate "DNS Resolver support"
7*4882a593Smuzhiyun	depends on NET && KEYS
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  Saying Y here will include support for the DNS Resolver key type
10*4882a593Smuzhiyun	  which can be used to make upcalls to perform DNS lookups in
11*4882a593Smuzhiyun	  userspace.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun	  DNS Resolver is used to query DNS server for information.  Examples
14*4882a593Smuzhiyun	  being resolving a UNC hostname element to an IP address for CIFS or
15*4882a593Smuzhiyun	  performing a DNS query for AFSDB records so that AFS can locate a
16*4882a593Smuzhiyun	  cell's volume location database servers.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun	  DNS Resolver is used by the CIFS and AFS modules, and would support
19*4882a593Smuzhiyun	  SMB2 later.  DNS Resolver is supported by the userspace upcall
20*4882a593Smuzhiyun	  helper "/sbin/dns.resolver" via /etc/request-key.conf.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	  See <file:Documentation/networking/dns_resolver.rst> for further
23*4882a593Smuzhiyun	  information.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	  To compile this as a module, choose M here: the module will be called
26*4882a593Smuzhiyun	  dnsresolver.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  If unsure, say N.
29