Specifies what transport(s) is/ar used for DNS lookups

gdns_set_transports(gctx, transports = c("tls", "udp", "tcp"))

Arguments

gctx

gdns resolver context created with gdns_resolver()

transports

character vector of any/all of "udp", "tcp" or "tls". Order matters as it specifies that the library will use to try to perform the lookups.

Examples

x <- gdns_context()
x <- gdns_set_transports(x, "tls")