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