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.

doh_post.Rd 783B

1234567891011121314151617181920212223242526272829
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/doh-query.R
  3. \name{doh_post}
  4. \alias{doh_post}
  5. \title{Make a DoH Request (POST/wireformat)}
  6. \usage{
  7. doh_post(name, type = "A",
  8. server_path = "https://dns.quad9.net/dns-query")
  9. }
  10. \arguments{
  11. \item{name}{name to query for}
  12. \item{type}{DNS query type (defaults to "\code{A}")}
  13. \item{server_path}{full URL path to the DoH server quer endpoint (defaults to Quad9).}
  14. }
  15. \value{
  16. \code{NULL} (if the query failed) or a \code{data.frame} (tibble)
  17. }
  18. \description{
  19. Issue a \code{POST} wireformat query of type \code{type} for \code{name} to
  20. the DoH endpoint specified at \code{server_path}.
  21. }
  22. \examples{
  23. doh_post("rud.is", "A")
  24. }
  25. \references{
  26. \url{https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-05.html}
  27. }