bulk_query.Rd
Vectorized query, returning only answers in a data frame
bulk_query(entities, type = 1, cd = FALSE, do = FALSE, edns_client_subnet = "0.0.0.0/0")
entities | character vector of entities to query |
---|---|
type | RR type can be represented as a number in [1, 65535] or canonical string (A, aaaa, etc). More information on RR types can be found here. |
cd | (Checking Disabled) flag. Use `TRUE` to disable DNSSEC validation; Default: `FALSE`. |
do | (DNSSEC OK) flag. Use `TRUE` include DNSSEC records (RRSIG, NSEC, NSEC3); Default: `FALSE`. |
edns_client_subnet | The edns0-client-subnet option. Format is an IP
address with a subnet mask. Examples: |
data.frame
of only answers (use query()
for detailed responses)
this is a fairly naive function. It expects Answer
to be one of the
return value list slots. The intent for it was to make it easier
to do bulk forward queries. It will get smarter in future versions.
https://developers.google.com/speed/public-dns/docs/dns-over-https
# NOT RUN { hosts <- c("rud.is", "r-project.org", "rstudio.com", "apple.com") gdns::bulk_query(hosts) # }