-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github.com/miekg/dns to v1.0.4
(especially for miekg/dns#631)
- Loading branch information
Showing
1,261 changed files
with
265,400 additions
and
4,971 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Marek Majkowski | |
Peter van Dijk | ||
Omri Bahumi | ||
Alex Sergeyev | ||
James Hartig |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ | ||
|
@@ -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. | ||
|
||
|
@@ -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); | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
Oops, something went wrong.