No Description
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.

gdns_set_hosts.Rd 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/resolver.R
  3. \name{gdns_set_hosts}
  4. \alias{gdns_set_hosts}
  5. \title{Initialized the context's local names namespace with values from the given hosts file.}
  6. \usage{
  7. gdns_set_hosts(gctx, hosts_file)
  8. }
  9. \arguments{
  10. \item{gctx}{gdns resolver context created with \code{\link[=gdns_resolver]{gdns_resolver()}}}
  11. \item{hosts_file}{path to a valid \code{hosts} file (e.g. "\code{/etc/hosts}). This value
  12. will be \code{\link[=path.expand]{path.expand()}}ed.}
  13. }
  14. \description{
  15. Initialized the context's local names namespace with values from the given hosts file.
  16. }
  17. \examples{
  18. x <- gdns_context()
  19. gdns_set_hosts(x, "/etc/hosts")
  20. }
  21. \seealso{
  22. Other context functions: \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_resolution_type}},
  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}