Perform Secure-by-default or Woefully Insecure ‘DNS’ Queries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.3KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/set-res-types.R
  3. \name{gdns_set_resolution_type}
  4. \alias{gdns_set_resolution_type}
  5. \title{Specify whether DNS queries are performed with recursive lookups or as a stub resolver}
  6. \usage{
  7. gdns_set_resolution_type(gctx, res_type = c("stub", "recursive"))
  8. }
  9. \arguments{
  10. \item{gctx}{gdns resolver context created with \code{\link[=gdns_resolver]{gdns_resolver()}}}
  11. \item{res_type}{length 1 character vector of either "\code{stub}" or "\code{recursive}"}
  12. }
  13. \description{
  14. Specify whether DNS queries are performed with recursive lookups or as a stub resolver
  15. }
  16. \examples{
  17. x <- gdns_context()
  18. x <- gdns_set_resolution_type(x, "stub")
  19. }
  20. \seealso{
  21. Other context functions:
  22. \code{\link{gdns_get_hosts}()},
  23. \code{\link{gdns_get_resolution_type}()},
  24. \code{\link{gdns_get_resolvconf}()},
  25. \code{\link{gdns_get_root_servers}()},
  26. \code{\link{gdns_get_timeout}()},
  27. \code{\link{gdns_get_tls_ca_file}()},
  28. \code{\link{gdns_get_tls_ca_path}()},
  29. \code{\link{gdns_get_transports}()},
  30. \code{\link{gdns_set_hosts}()},
  31. \code{\link{gdns_set_round_robin_upstreams}()},
  32. \code{\link{gdns_set_timeout}()},
  33. \code{\link{gdns_set_tls_ca_file}()},
  34. \code{\link{gdns_set_tls_ca_path}()},
  35. \code{\link{gdns_update_resolvers}()}
  36. }
  37. \concept{context functions}