gdns_set_resolution_type.Rd
Specify whether DNS queries are performed with recursive lookups or as a stub resolver
gdns_set_resolution_type(gctx, res_type = c("stub", "recursive"))
gctx | gdns resolver context created with |
---|---|
res_type | length 1 character vector of either " |
Other context functions:
gdns_get_hosts()
,
gdns_get_resolution_type()
,
gdns_get_resolvconf()
,
gdns_get_root_servers()
,
gdns_get_timeout()
,
gdns_get_tls_ca_file()
,
gdns_get_tls_ca_path()
,
gdns_get_transports()
,
gdns_set_hosts()
,
gdns_set_round_robin_upstreams()
,
gdns_set_timeout()
,
gdns_set_tls_ca_file()
,
gdns_set_tls_ca_path()
,
gdns_update_resolvers()
x <- gdns_context() x <- gdns_set_resolution_type(x, "stub")