diff --git a/DESCRIPTION b/DESCRIPTION index 90c6c23..b739c87 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -8,7 +8,7 @@ Authors@R: c( comment = c(ORCID = "0000-0001-5670-2640")) ) Maintainer: Bob Rudis -Description: Make 'DNS over HTTPS' queries. +Description: Make 'DNS over HTTPS' () queries. URL: https://gitlab.com/hrbrmstr/playdoh BugReports: https://gitlab.com/hrbrmstr/playdoh/issues Encoding: UTF-8 diff --git a/R/doh-post.R b/R/doh-post.R index bc62eb6..82bd663 100644 --- a/R/doh-post.R +++ b/R/doh-post.R @@ -6,6 +6,7 @@ #' @param type DNS query type (defaults to "`A`") #' @param server_path full URL path to the DoH server quer endpoint (defaults to Quad9). #' @return `NULL` (if the query failed) or a `data.frame` (tibble) +#' @references #' @export doh_post <- function(name, type = "A", server_path = "https://dns.quad9.net/dns-query") { diff --git a/R/playdoh-package.R b/R/playdoh-package.R index f099717..1a5fc23 100644 --- a/R/playdoh-package.R +++ b/R/playdoh-package.R @@ -1,5 +1,6 @@ #' Make 'DNS over HTTPS' Queries #' +#' - RFC: #' - URL: #' - BugReports: #' diff --git a/README.Rmd b/README.Rmd index 6d67281..486f518 100644 --- a/README.Rmd +++ b/README.Rmd @@ -20,6 +20,8 @@ Make 'DNS over HTTPS' Queries Make 'DNS over HTTPS' Queries +DoH RTFM: + ## What's Inside The Tin The following functions are implemented: diff --git a/README.md b/README.md index 1223f44..8ed9504 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,9 @@ Make ‘DNS over HTTPS’ Queries Make ‘DNS over HTTPS’ Queries +DoH RTFM: + + ## What’s Inside The Tin The following functions are implemented: @@ -47,30 +50,30 @@ doh_post("rud.is") ## # A tibble: 1 x 6 ## query qtype rname rtype rdata ttl ## -## 1 rud.is. 1 rud.is. 1 172.93.49.183 3572 +## 1 rud.is. 1 rud.is. 1 172.93.49.183 3600 doh_post("lenovo.com", "txt") ## # A tibble: 10 x 6 ## query qtype rname rtype rdata ttl ## -## 1 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=nGgukcp60rC-gFxMOJw1NHH0B4VnSchRrlfWV-He_tE\"" 7173 -## 2 lenovo.co… 16 lenovo.co… 16 "\"a82c74b37aa84e7c8580f0e32f4d795d\"" 7173 -## 3 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=sHIlSlj0U6UnCDkfHp1AolWgVEvDjWvc0TR4KaysD2c\"" 7173 -## 4 lenovo.co… 16 lenovo.co… 16 "\"v=spf1 include:spf.messagelabs.com include:_netblocks.eloqua.com ~all\"" 7173 -## 5 lenovo.co… 16 lenovo.co… 16 "\"qh7hdmqm4lzs85p704d6wsybgrpsly0j\"" 7173 -## 6 lenovo.co… 16 lenovo.co… 16 "\"ece42d7743c84d6889abda7011fe6f53\"" 7173 -## 7 lenovo.co… 16 lenovo.co… 16 "\"iHzQJvsKnyGP2Nm2qBgL3fyBJ0CC9z4GkY/flfk4EzLP8lPxWHDDPKqZWm1TkeF5kEIL+NotY… 7173 -## 8 lenovo.co… 16 lenovo.co… 16 "\"Visit www.lenovo.com/think for information about Lenovo products and serv… 7173 -## 9 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=VxW_e6r_Ka7A518qfX2MmIMHGnkpGbnACsjSxKFCBw0\"" 7173 -## 10 lenovo.co… 16 lenovo.co… 16 "\"facebook-domain-verification=1r2am7c2bhzrxpqyt0mda0djoquqsi\"" 7173 +## 1 lenovo.co… 16 lenovo.co… 16 "\"qh7hdmqm4lzs85p704d6wsybgrpsly0j\"" 1 +## 2 lenovo.co… 16 lenovo.co… 16 "\"ece42d7743c84d6889abda7011fe6f53\"" 1 +## 3 lenovo.co… 16 lenovo.co… 16 "\"a82c74b37aa84e7c8580f0e32f4d795d\"" 1 +## 4 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=VxW_e6r_Ka7A518qfX2MmIMHGnkpGbnACsjSxKFCBw0\"" 1 +## 5 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=sHIlSlj0U6UnCDkfHp1AolWgVEvDjWvc0TR4KaysD2c\"" 1 +## 6 lenovo.co… 16 lenovo.co… 16 "\"Visit www.lenovo.com/think for information about Lenovo products and serv… 1 +## 7 lenovo.co… 16 lenovo.co… 16 "\"google-site-verification=nGgukcp60rC-gFxMOJw1NHH0B4VnSchRrlfWV-He_tE\"" 1 +## 8 lenovo.co… 16 lenovo.co… 16 "\"iHzQJvsKnyGP2Nm2qBgL3fyBJ0CC9z4GkY/flfk4EzLP8lPxWHDDPKqZWm1TkeF5kEIL+NotY… 1 +## 9 lenovo.co… 16 lenovo.co… 16 "\"v=spf1 include:spf.messagelabs.com include:_netblocks.eloqua.com ~all\"" 1 +## 10 lenovo.co… 16 lenovo.co… 16 "\"facebook-domain-verification=1r2am7c2bhzrxpqyt0mda0djoquqsi\"" 1 ``` ## playdoh Metrics | Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) | | :--- | -------: | ---: | --: | ---: | ----------: | ---: | -------: | ---: | -| R | 6 | 0.86 | 122 | 0.92 | 23 | 0.52 | 26 | 0.43 | -| Rmd | 1 | 0.14 | 11 | 0.08 | 21 | 0.48 | 35 | 0.57 | +| R | 6 | 0.86 | 122 | 0.92 | 23 | 0.51 | 26 | 0.42 | +| Rmd | 1 | 0.14 | 11 | 0.08 | 22 | 0.49 | 36 | 0.58 | ## Code of Conduct diff --git a/man/doh_post.Rd b/man/doh_post.Rd index d5286dc..7302fb9 100644 --- a/man/doh_post.Rd +++ b/man/doh_post.Rd @@ -20,3 +20,6 @@ doh_post(name, type = "A", \description{ Issue the query of type \code{type} for \code{name} to the DoH endpoint specified at \code{server_path}. } +\references{ +\url{https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-05.html} +} diff --git a/man/playdoh.Rd b/man/playdoh.Rd index 00bcc26..563a507 100644 --- a/man/playdoh.Rd +++ b/man/playdoh.Rd @@ -7,6 +7,7 @@ \title{Make 'DNS over HTTPS' Queries} \description{ \itemize{ +\item RFC: \url{https://tools.ietf.org/id/draft-ietf-doh-dns-over-https-05.html} \item URL: \url{https://gitlab.com/hrbrmstr/playdoh} \item BugReports: \url{https://gitlab.com/hrbrmstr/playdoh/issues} }