Browse Source

travis

tags/v0.3.1
Bob Rudis 4 years ago
parent
commit
60a7035362
4 changed files with 12 additions and 8 deletions
  1. +0
    -2
      .travis.yml
  2. +8
    -2
      DESCRIPTION
  3. +2
    -2
      R/gdns.r
  4. +2
    -2
      man/query.Rd

+ 0
- 2
.travis.yml View File

@@ -1,5 +1,3 @@
# Sample .travis.yml for R projects

language: r
warnings_are_errors: true
sudo: required

+ 8
- 2
DESCRIPTION View File

@@ -1,9 +1,15 @@
Package: gdns
Title: Tools to Work with Google DNS Over https API
Title: Tools to Work with Google DNS Over HTTPS API
Version: 0.1.0.9000
Authors@R: c(person("Bob", "Rudis", email = "bob@rudis.net", role = c("aut", "cre")))
Maintainer: Bob Rudis <bob@rudis.net>
Description: Tools to Work with Google DNS Over https API
Description: To address the problem of insecurity of UDP-based DNS requests,
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. Functions that enable
querying individual requests that bulk requests that return detailed
responses and bulk requests are both provided.
License: AGPL + file LICENSE
LazyData: true
Encoding: UTF-8


+ 2
- 2
R/gdns.r View File

@@ -20,7 +20,7 @@ S_GET <- purrr::safely(GET)
#' @param name item to lookup. Valid characters are numbers, letters, hyphen, and dot. Length
#' must be between 1 and 255. Names with escaped or non-ASCII characters
#' are not supported. Internationalized domain names must use the
#' punycode format (e.g. "\code{xn--qxam}" rather than "\code{ελ}")
#' punycode format (e.g. "\code{xn--qxam}").
#' @param type RR type can be represented as a number in [1, 65535] or canonical
#' string (A, aaaa, etc.)
#' @param edns_client_subnet The edns0-client-subnet option. Format is an IP
@@ -37,7 +37,7 @@ S_GET <- purrr::safely(GET)
#' @export
#' @examples
#' query("rud.is")
query <- function(name, type="1", cd=FALSE, edns_client_subnet=NULL) {
query <- function(name, type="1", edns_client_subnet=NULL) {

res <- S_GET("https://dns.google.com/resolve",
query=list(name=name,


+ 2
- 2
man/query.Rd View File

@@ -4,13 +4,13 @@
\alias{query}
\title{Perform DNS over HTTPS queries using Google}
\usage{
query(name, type = "1", cd = FALSE, edns_client_subnet = NULL)
query(name, type = "1", edns_client_subnet = NULL)
}
\arguments{
\item{name}{item to lookup. Valid characters are numbers, letters, hyphen, and dot. Length
must be between 1 and 255. Names with escaped or non-ASCII characters
are not supported. Internationalized domain names must use the
punycode format (e.g. "\code{xn--qxam}" rather than "\code{ελ}")}
punycode format (e.g. "\code{xn--qxam}").}

\item{type}{RR type can be represented as a number in [1, 65535] or canonical
string (A, aaaa, etc.)}


Loading…
Cancel
Save