xref: /openbmc/linux/net/dns_resolver/Kconfig (revision 9dfe1361)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21a4240f4SWang Lei#
31a4240f4SWang Lei# Configuration for DNS Resolver
41a4240f4SWang Lei#
51a4240f4SWang Leiconfig DNS_RESOLVER
61a4240f4SWang Lei	tristate "DNS Resolver support"
71a4240f4SWang Lei	depends on NET && KEYS
81a4240f4SWang Lei	help
91a4240f4SWang Lei	  Saying Y here will include support for the DNS Resolver key type
101a4240f4SWang Lei	  which can be used to make upcalls to perform DNS lookups in
111a4240f4SWang Lei	  userspace.
121a4240f4SWang Lei
131a4240f4SWang Lei	  DNS Resolver is used to query DNS server for information.  Examples
141a4240f4SWang Lei	  being resolving a UNC hostname element to an IP address for CIFS or
151a4240f4SWang Lei	  performing a DNS query for AFSDB records so that AFS can locate a
161a4240f4SWang Lei	  cell's volume location database servers.
171a4240f4SWang Lei
181a4240f4SWang Lei	  DNS Resolver is used by the CIFS and AFS modules, and would support
195227bbb0SSteve French	  SMB2 later.  DNS Resolver is supported by the userspace upcall
201a4240f4SWang Lei	  helper "/sbin/dns.resolver" via /etc/request-key.conf.
211a4240f4SWang Lei
229dfe1361SMauro Carvalho Chehab	  See <file:Documentation/networking/dns_resolver.rst> for further
231a4240f4SWang Lei	  information.
241a4240f4SWang Lei
251a4240f4SWang Lei	  To compile this as a module, choose M here: the module will be called
261a4240f4SWang Lei	  dnsresolver.
271a4240f4SWang Lei
281a4240f4SWang Lei	  If unsure, say N.
29