25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.2 KiB
3.2 KiB
playdoh
Make ‘DNS over HTTPS’ Queries
Description
Make ‘DNS over HTTPS’ Queries
What’s Inside The Tin
The following functions are implemented:
doh_post
: Make a POST DoH Request (wireformat)
Installation
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")
Usage
library(playdoh)
library(tidyverse) # for printing
# current version
packageVersion("playdoh")
## [1] '0.1.0'
Basic functionality
doh_post("rud.is")
## # A tibble: 1 x 6
## query qtype rname rtype rdata ttl
## <chr> <int> <chr> <int> <chr> <int>
## 1 rud.is. 1 rud.is. 1 172.93.49.183 3572
doh_post("lenovo.com", "txt")
## # A tibble: 10 x 6
## query qtype rname rtype rdata ttl
## <chr> <int> <chr> <int> <chr> <int>
## 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
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 |
Code of Conduct
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.