Perform Secure-by-default or Woefully Insecure ‘DNS’ Queries
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

39 lignes
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}