mirror of
https://github.com/coredns/coredns.git
synced 2025-11-08 13:06:24 -05:00
Drop caddy from vendor (#700)
* Removed caddy * new stuff * Now need to go get caddy * Duh
This commit is contained in:
5
vendor/github.com/miekg/dns/.travis.yml
generated
vendored
5
vendor/github.com/miekg/dns/.travis.yml
generated
vendored
@@ -1,8 +1,9 @@
|
||||
language: go
|
||||
sudo: false
|
||||
go:
|
||||
- 1.6
|
||||
- 1.7
|
||||
- 1.7.x
|
||||
- 1.8.x
|
||||
- tip
|
||||
|
||||
before_install:
|
||||
# don't use the miekg/dns when testing forks
|
||||
|
||||
4
vendor/github.com/miekg/dns/README.md
generated
vendored
4
vendor/github.com/miekg/dns/README.md
generated
vendored
@@ -13,7 +13,7 @@ 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.
|
||||
two versions of Go, currently: 1.7 and 1.8.
|
||||
|
||||
# Goals
|
||||
|
||||
@@ -58,6 +58,8 @@ A not-so-up-to-date-list-that-may-be-actually-current:
|
||||
* http://quilt.io
|
||||
* https://github.com/ipdcode/hades (JD.COM)
|
||||
* https://github.com/StackExchange/dnscontrol/
|
||||
* https://www.dnsperf.com/
|
||||
* https://dnssectest.net/
|
||||
|
||||
Send pull request if you want to be listed here.
|
||||
|
||||
|
||||
7
vendor/github.com/miekg/dns/defaults.go
generated
vendored
7
vendor/github.com/miekg/dns/defaults.go
generated
vendored
@@ -13,9 +13,12 @@ const hexDigit = "0123456789abcdef"
|
||||
// SetReply creates a reply message from a request message.
|
||||
func (dns *Msg) SetReply(request *Msg) *Msg {
|
||||
dns.Id = request.Id
|
||||
dns.RecursionDesired = request.RecursionDesired // Copy rd bit
|
||||
dns.Response = true
|
||||
dns.Opcode = OpcodeQuery
|
||||
dns.Opcode = request.Opcode
|
||||
if dns.Opcode == OpcodeQuery {
|
||||
dns.RecursionDesired = request.RecursionDesired // Copy rd bit
|
||||
dns.CheckingDisabled = request.CheckingDisabled // Copy cd bit
|
||||
}
|
||||
dns.Rcode = RcodeSuccess
|
||||
if len(request.Question) > 0 {
|
||||
dns.Question = make([]Question, 1)
|
||||
|
||||
11
vendor/github.com/miekg/dns/parse_test.go
generated
vendored
11
vendor/github.com/miekg/dns/parse_test.go
generated
vendored
@@ -1527,3 +1527,14 @@ func TestParseAVC(t *testing.T) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func TestUnbalancedParens(t *testing.T) {
|
||||
sig := `example.com. 3600 IN RRSIG MX 15 2 3600 (
|
||||
1440021600 1438207200 3613 example.com. (
|
||||
oL9krJun7xfBOIWcGHi7mag5/hdZrKWw15jPGrHpjQeRAvTdszaPD+QLs3f
|
||||
x8A4M3e23mRZ9VrbpMngwcrqNAg== )`
|
||||
_, err := NewRR(sig)
|
||||
if err == nil {
|
||||
t.Fatalf("Failed to detect extra opening brace")
|
||||
}
|
||||
}
|
||||
|
||||
6
vendor/github.com/miekg/dns/scan.go
generated
vendored
6
vendor/github.com/miekg/dns/scan.go
generated
vendored
@@ -811,6 +811,12 @@ func zlexer(s *scan, c chan lex) {
|
||||
debug.Printf("[%+v]", l.token)
|
||||
c <- l
|
||||
}
|
||||
if brace != 0 {
|
||||
l.token = "unbalanced brace"
|
||||
l.tokenUpper = l.token
|
||||
l.err = true
|
||||
c <- l
|
||||
}
|
||||
}
|
||||
|
||||
// Extract the class number from CLASSxx
|
||||
|
||||
Reference in New Issue
Block a user