#' Tools to Work with Google DNS Over HTTPS API #' #' Traditional DNS queries and responses are sent over UDP or TCP without #' encryption. This is vulnerable to eavesdropping and spoofing (including #' DNS-based Internet filtering). Responses from recursive resolvers to clients #' are the most vulnerable to undesired or malicious changes, while #' communications between recursive resolvers and authoritative nameservers #' often incorporate additional protection.\cr #' \cr #' To address this problem, Google Public DNS offers DNS resolution over an #' encrypted HTTPS connection. DNS-over-HTTPS greatly enhances privacy and #' security between a client and a recursive resolver, and complements DNSSEC #' to provide end-to-end authenticated DNS lookups.\cr #' \cr #' Support for reverse lookups is also provided.\cr #' \cr #' See \url{https://developers.google.com/speed/public-dns/docs/dns-over-https} #' for more information. #' #' @name gdns #' @docType package #' @author Bob Rudis (bob@@rud.is) #' @import httr #' @importFrom stringi stri_split_fixed stri_split_regex stri_trim #' stri_replace_all_regex stri_enc_toutf8 #' stri_detect_fixed #' @importFrom jsonlite fromJSON NULL #' An overview of resource records (RRs) permissible in zone files of the Domain Name System (DNS) #' #' A dataset containing the DNS resource record types, names, description and purpose #' #' @format A data frame with 39 rows and 4 variables: #' \describe{ #' \item{type}{numeric type of the resource record} #' \item{name}{short name of the resource record} #' \item{description}{short description of the resource record} #' \item{purpose}{long-form description of the resource record purpose/function/usage} #' } #' @source \url{https://en.wikipedia.org/wiki/List_of_DNS_record_types} "resource_record_tbl"