knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE) options(width=120)
Make 'DNS over HTTPS' Queries
Make 'DNS over HTTPS' Queries
DoH RTFM: https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-05.html
The following functions are implemented:
to_inaddr_arpa
: Convert a vector of IPv4 addresses to in-addr.arpa formatdoh_get
: Make a DoH Request (GET/REST)devtools::install_git("https://sr.ht.com/~hrbrmstr/playdoh.git") # or devtools::install_gitlab("hrbrmstr/playdoh.git") # or (if you must) devtools::install_github("hrbrmstr/playdoh")
library(playdoh) library(tidyverse) # for printing # current version packageVersion("playdoh")
doh_get("apple.com", "A") doh_get("rud.is", "AAAA") doh_get("rud.is", "MX") doh_get("lenovo.com", "TXT") doh_get("dataassurance.pwc.com", "CNAME") doh_get("rud.is", "NS") doh_get("rud.is", "SOA") doh_get(to_inaddr_arpa("104.244.13.104"), "PTR")
cloc::cloc_pkg_md()
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.