Issue a POST wireformat query of type type for name to the DoH endpoint specified at server_path.

doh_post(name, type = "A", server_path = "https://dns.quad9.net/dns-query")

Arguments

name

name to query for

type

DNS query type (defaults to "A")

server_path

full URL path to the DoH server quer endpoint (defaults to Quad9).

Value

NULL (if the query failed) or a data.frame (tibble)

References

https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-05.html

Examples

doh_post("rud.is", "A")