Tools to work with the Google DNS over HTTPS API in R https://cinc.rud.is/web/packages/gdns/
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.

gdns-package.r 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #' Tools to Work with Google DNS Over HTTPS API
  2. #'
  3. #' Traditional DNS queries and responses are sent over UDP or TCP without
  4. #' encryption. This is vulnerable to eavesdropping and spoofing (including
  5. #' DNS-based Internet filtering). Responses from recursive resolvers to clients
  6. #' are the most vulnerable to undesired or malicious changes, while
  7. #' communications between recursive resolvers and authoritative nameservers
  8. #' often incorporate additional protection.\cr
  9. #' \cr
  10. #' To address this problem, Google Public DNS offers DNS resolution over an
  11. #' encrypted HTTPS connection. DNS-over-HTTPS greatly enhances privacy and
  12. #' security between a client and a recursive resolver, and complements DNSSEC
  13. #' to provide end-to-end authenticated DNS lookups.\cr
  14. #' \cr
  15. #' Support for reverse lookups is also provided.\cr
  16. #' \cr
  17. #' See \url{https://developers.google.com/speed/public-dns/docs/dns-over-https}
  18. #' for more information.
  19. #'
  20. #' @name gdns
  21. #' @docType package
  22. #' @author Bob Rudis (bob@@rud.is)
  23. #' @import httr
  24. #' @importFrom stringi stri_split_fixed stri_split_regex stri_trim
  25. #' stri_replace_all_regex stri_enc_toutf8
  26. #' stri_detect_fixed
  27. #' @importFrom jsonlite fromJSON
  28. #' @importFrom stats terms
  29. NULL
  30. #' An overview of resource records (RRs) permissible in zone files of the Domain Name System (DNS)
  31. #'
  32. #' A dataset containing the DNS resource record types, names, description and purpose
  33. #'
  34. #' @format A data frame with 39 rows and 4 variables:
  35. #' \describe{
  36. #' \item{type}{numeric type of the resource record}
  37. #' \item{name}{short name of the resource record}
  38. #' \item{description}{short description of the resource record}
  39. #' \item{purpose}{long-form description of the resource record purpose/function/usage}
  40. #' }
  41. #' @source \url{https://en.wikipedia.org/wiki/List_of_DNS_record_types}
  42. "resource_record_tbl"