Skip to content

Commit

Permalink
Update github.com/miekg/dns to v1.0.4
Browse files Browse the repository at this point in the history
(especially for miekg/dns#631)
  • Loading branch information
tianon committed Jan 25, 2018
1 parent 773af16 commit 8c1cefd
Show file tree
Hide file tree
Showing 1,261 changed files with 265,400 additions and 4,971 deletions.
46 changes: 44 additions & 2 deletions vendor/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,50 @@
{
"importpath": "github.com/miekg/dns",
"repository": "https://github.com/miekg/dns",
"revision": "ca336a1f95a6b89be9c250df26c7a41742eb4a6f",
"branch": "master"
"revision": "5364553f1ee9cddc7ac8b62dce148309c386695b",
"branch": "HEAD"
},
{
"importpath": "golang.org/x/crypto/ed25519",
"repository": "https://go.googlesource.com/crypto",
"revision": "3d37316aaa6bd9929127ac9a527abf408178ea7b",
"branch": "master",
"path": "/ed25519"
},
{
"importpath": "golang.org/x/net/bpf",
"repository": "https://go.googlesource.com/net",
"revision": "0ed95abb35c445290478a5348a7b38bb154135fd",
"branch": "master",
"path": "/bpf"
},
{
"importpath": "golang.org/x/net/internal/iana",
"repository": "https://go.googlesource.com/net",
"revision": "0ed95abb35c445290478a5348a7b38bb154135fd",
"branch": "master",
"path": "/internal/iana"
},
{
"importpath": "golang.org/x/net/internal/socket",
"repository": "https://go.googlesource.com/net",
"revision": "0ed95abb35c445290478a5348a7b38bb154135fd",
"branch": "master",
"path": "/internal/socket"
},
{
"importpath": "golang.org/x/net/ipv4",
"repository": "https://go.googlesource.com/net",
"revision": "0ed95abb35c445290478a5348a7b38bb154135fd",
"branch": "master",
"path": "/ipv4"
},
{
"importpath": "golang.org/x/net/ipv6",
"repository": "https://go.googlesource.com/net",
"revision": "0ed95abb35c445290478a5348a7b38bb154135fd",
"branch": "master",
"path": "/ipv6"
}
]
}
1 change: 1 addition & 0 deletions vendor/src/github.com/miekg/dns/CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ Marek Majkowski
Peter van Dijk
Omri Bahumi
Alex Sergeyev
James Hartig
21 changes: 21 additions & 0 deletions vendor/src/github.com/miekg/dns/Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions vendor/src/github.com/miekg/dns/Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"


[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
33 changes: 33 additions & 0 deletions vendor/src/github.com/miekg/dns/Makefile.fuzz
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Makefile for fuzzing
#
# Use go-fuzz and needs the tools installed.
# See https://blog.cloudflare.com/dns-parser-meet-go-fuzzer/
#
# Installing go-fuzz:
# $ make -f Makefile.fuzz get
# Installs:
# * github.com/dvyukov/go-fuzz/go-fuzz
# * get github.com/dvyukov/go-fuzz/go-fuzz-build

all: build

.PHONY: build
build:
go-fuzz-build -tags fuzz github.com/miekg/dns

.PHONY: build-newrr
build-newrr:
go-fuzz-build -func FuzzNewRR -tags fuzz github.com/miekg/dns

.PHONY: fuzz
fuzz:
go-fuzz -bin=dns-fuzz.zip -workdir=fuzz

.PHONY: get
get:
go get github.com/dvyukov/go-fuzz/go-fuzz
go get github.com/dvyukov/go-fuzz/go-fuzz-build

.PHONY: clean
clean:
rm *-fuzz.zip
52 changes: 52 additions & 0 deletions vendor/src/github.com/miekg/dns/Makefile.release
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Makefile for releasing.
#
# The release is controlled from version.go. The version found there is
# used to tag the git repo, we're not building any artifects so there is nothing
# to upload to github.
#
# * Up the version in version.go
# * Run: make -f Makefile.release release
# * will *commit* your change with 'Release $VERSION'
# * push to github
#

define GO
//+build ignore

package main

import (
"fmt"

"github.com/miekg/dns"
)

func main() {
fmt.Println(dns.Version.String())
}
endef

$(file > version_release.go,$(GO))
VERSION:=$(shell go run version_release.go)
TAG="v$(VERSION)"

all:
@echo Use the \'release\' target to start a release $(VERSION)
rm -f version_release.go

.PHONY: release
release: commit push
@echo Released $(VERSION)
rm -f version_release.go

.PHONY: commit
commit:
@echo Committing release $(VERSION)
git commit -am"Release $(VERSION)"
git tag $(TAG)

.PHONY: push
push:
@echo Pushing release $(VERSION) to master
git push --tags
git push
41 changes: 27 additions & 14 deletions vendor/src/github.com/miekg/dns/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
[![Build Status](https://travis-ci.org/miekg/dns.svg?branch=master)](https://travis-ci.org/miekg/dns)
[![Code Coverage](https://img.shields.io/codecov/c/github/miekg/dns/master.svg)](https://codecov.io/github/miekg/dns?branch=master)
[![Go Report Card](https://goreportcard.com/badge/github.com/miekg/dns)](https://goreportcard.com/report/miekg/dns)
[![](https://godoc.org/github.com/miekg/dns?status.svg)](https://godoc.org/github.com/miekg/dns)

# Alternative (more granular) approach to a DNS library

> Less is more.
Complete and usable DNS library. All widely used Resource Records are
supported, including the DNSSEC types. It follows a lean and mean philosophy.
If there is stuff you should know as a DNS programmer there isn't a convenience
function for it. Server side and client side programming is supported, i.e. you
can build servers and resolvers with it.
Complete and usable DNS library. All widely used Resource Records are supported, including the
DNSSEC types. It follows a lean and mean philosophy. If there is stuff you should know as a DNS
programmer there isn't a convenience function for it. Server side and client side programming is
supported, i.e. you can build servers and resolvers with it.

We try to keep the "master" branch as sane as possible and at the bleeding edge
of standards, avoiding breaking changes wherever reasonable. We support the last
two versions of Go, currently: 1.6 and 1.7.
We try to keep the "master" branch as sane as possible and at the bleeding edge of standards,
avoiding breaking changes wherever reasonable. We support the last two versions of Go.

# Goals

* KISS;
* Fast;
* Small API, if its easy to code in Go, don't make a function for it.
* Small API. If it's easy to code in Go, don't make a function for it.

# Users

A not-so-up-to-date-list-that-may-be-actually-current:

* https://github.com/coredns/coredns
* https://cloudflare.com
* https://github.com/abh/geodns
* http://www.statdns.com/
Expand Down Expand Up @@ -54,6 +55,15 @@ A not-so-up-to-date-list-that-may-be-actually-current:
* https://github.com/mehrdadrad/mylg
* https://github.com/bamarni/dockness
* https://github.com/fffaraz/microdns
* http://kelda.io
* https://github.com/ipdcode/hades (JD.COM)
* https://github.com/StackExchange/dnscontrol/
* https://www.dnsperf.com/
* https://dnssectest.net/
* https://dns.apebits.com
* https://github.com/oif/apex
* https://github.com/jedisct1/dnscrypt-proxy
* https://github.com/jedisct1/rpdns

Send pull request if you want to be listed here.

Expand All @@ -66,7 +76,7 @@ Send pull request if you want to be listed here.
* Parsing RRs ~ 100K RR/s, that's 5M records in about 50 seconds;
* Server side programming (mimicking the net/http package);
* Client side programming;
* DNSSEC: signing, validating and key generation for DSA, RSA and ECDSA;
* DNSSEC: signing, validating and key generation for DSA, RSA, ECDSA and Ed25519;
* EDNS0, NSID, Cookies;
* AXFR/IXFR;
* TSIG, SIG(0);
Expand All @@ -80,8 +90,8 @@ Miek Gieben - 2010-2012 - <[email protected]>

# Building

Building is done with the `go` tool. If you have setup your GOPATH
correctly, the following should work:
Building is done with the `go` tool. If you have setup your GOPATH correctly, the following should
work:

go get github.com/miekg/dns
go build github.com/miekg/dns
Expand Down Expand Up @@ -142,10 +152,13 @@ Example programs can be found in the `github.com/miekg/exdns` repository.
* 6975 - Algorithm Understanding in DNSSEC
* 7043 - EUI48/EUI64 records
* 7314 - DNS (EDNS) EXPIRE Option
* 7477 - CSYNC RR
* 7828 - edns-tcp-keepalive EDNS0 Option
* 7553 - URI record
* 7858 - DNS over TLS: Initiation and Performance Considerations (draft)
* 7858 - DNS over TLS: Initiation and Performance Considerations
* 7871 - EDNS0 Client Subnet
* 7873 - Domain Name System (DNS) Cookies (draft-ietf-dnsop-cookies)
* xxxx - EDNS0 DNS Update Lease (draft)
* 8080 - EdDSA for DNSSEC

## Loosely based upon

Expand Down
Loading

0 comments on commit 8c1cefd

Please sign in to comment.