Fix import path github.com/miekg/coredns
-> github.com/coredns/coredns
(#547)
This fix fixes import path from `github.com/miekg/coredns` -> `github.com/coredns/coredns`
This commit is contained in:
parent
5982337226
commit
81af74aad0
141 changed files with 366 additions and 366 deletions
|
@ -9,7 +9,7 @@ language: go
|
||||||
go:
|
go:
|
||||||
- 1.7
|
- 1.7
|
||||||
|
|
||||||
go_import_path: github.com/miekg/coredns
|
go_import_path: github.com/coredns/coredns
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- ETCD_VERSION=2.3.1 K8S_VERSION=1.3.7 KUBECTL="docker exec hyperkube /hyperkube kubectl" DNS_ARGUMENTS=""
|
- ETCD_VERSION=2.3.1 K8S_VERSION=1.3.7 KUBECTL="docker exec hyperkube /hyperkube kubectl" DNS_ARGUMENTS=""
|
||||||
|
|
|
@ -5,10 +5,10 @@ can be. We gladly accept contributions and encourage you to get involved!
|
||||||
|
|
||||||
### Bug reports
|
### Bug reports
|
||||||
|
|
||||||
First, please [search this repository](https://github.com/miekg/coredns/search?q=&type=Issues&utf8=%E2%9C%93)
|
First, please [search this repository](https://github.com/coredns/coredns/search?q=&type=Issues&utf8=%E2%9C%93)
|
||||||
with a variety of keywords to ensure your bug is not already reported.
|
with a variety of keywords to ensure your bug is not already reported.
|
||||||
|
|
||||||
If not, [open an issue](https://github.com/miekg/coredns/issues) and answer the
|
If not, [open an issue](https://github.com/coredns/coredns/issues) and answer the
|
||||||
questions so we can understand and reproduce the problematic behavior.
|
questions so we can understand and reproduce the problematic behavior.
|
||||||
|
|
||||||
The burden is on you to convince us that it is actually a bug in CoreDNS. This is
|
The burden is on you to convince us that it is actually a bug in CoreDNS. This is
|
||||||
|
@ -23,14 +23,14 @@ getting free help.
|
||||||
|
|
||||||
### Minor improvements and new tests
|
### Minor improvements and new tests
|
||||||
|
|
||||||
Submit [pull requests](https://github.com/miekg/coredns/pulls) at any time. Make
|
Submit [pull requests](https://github.com/coredns/coredns/pulls) at any time. Make
|
||||||
sure to write tests to assert your change is working properly and is thoroughly
|
sure to write tests to assert your change is working properly and is thoroughly
|
||||||
covered.
|
covered.
|
||||||
|
|
||||||
|
|
||||||
### Proposals, suggestions, ideas, new features
|
### Proposals, suggestions, ideas, new features
|
||||||
|
|
||||||
First, please [search](https://github.com/miekg/coredns/search?q=&type=Issues&utf8=%E2%9C%93)
|
First, please [search](https://github.com/coredns/coredns/search?q=&type=Issues&utf8=%E2%9C%93)
|
||||||
with a variety of keywords to ensure your suggestion/proposal is new.
|
with a variety of keywords to ensure your suggestion/proposal is new.
|
||||||
|
|
||||||
If so, you may open either an issue or a pull request for discussion and
|
If so, you may open either an issue or a pull request for discussion and
|
||||||
|
|
|
@ -44,7 +44,7 @@ Each of the middlewares has a README.md of its own.
|
||||||
CoreDNS can be used as a authoritative nameserver for your domains, and should be stable enough to
|
CoreDNS can be used as a authoritative nameserver for your domains, and should be stable enough to
|
||||||
provide you with good DNS(SEC) service.
|
provide you with good DNS(SEC) service.
|
||||||
|
|
||||||
There are still few [issues](https://github.com/miekg/coredns/issues), and work is ongoing on making
|
There are still few [issues](https://github.com/coredns/coredns/issues), and work is ongoing on making
|
||||||
things fast and to reduce the memory usage.
|
things fast and to reduce the memory usage.
|
||||||
|
|
||||||
All in all, CoreDNS should be able to provide you with enough functionality to replace parts of BIND
|
All in all, CoreDNS should be able to provide you with enough functionality to replace parts of BIND
|
||||||
|
@ -174,7 +174,7 @@ example.org {
|
||||||
Website: <https://coredns.io>
|
Website: <https://coredns.io>
|
||||||
Twitter: [@corednsio](https://twitter.com/corednsio)
|
Twitter: [@corednsio](https://twitter.com/corednsio)
|
||||||
Docs: <https://miek.nl/tags/coredns/>
|
Docs: <https://miek.nl/tags/coredns/>
|
||||||
Github: <https://github.com/miekg/coredns>
|
Github: <https://github.com/coredns/coredns>
|
||||||
|
|
||||||
|
|
||||||
## Systemd Service File
|
## Systemd Service File
|
||||||
|
|
|
@ -3,29 +3,29 @@ package core
|
||||||
|
|
||||||
import (
|
import (
|
||||||
// plug in the server
|
// plug in the server
|
||||||
_ "github.com/miekg/coredns/core/dnsserver"
|
_ "github.com/coredns/coredns/core/dnsserver"
|
||||||
|
|
||||||
// plug in the standard directives (sorted)
|
// plug in the standard directives (sorted)
|
||||||
_ "github.com/miekg/coredns/middleware/auto"
|
_ "github.com/coredns/coredns/middleware/auto"
|
||||||
_ "github.com/miekg/coredns/middleware/bind"
|
_ "github.com/coredns/coredns/middleware/bind"
|
||||||
_ "github.com/miekg/coredns/middleware/cache"
|
_ "github.com/coredns/coredns/middleware/cache"
|
||||||
_ "github.com/miekg/coredns/middleware/chaos"
|
_ "github.com/coredns/coredns/middleware/chaos"
|
||||||
_ "github.com/miekg/coredns/middleware/dnssec"
|
_ "github.com/coredns/coredns/middleware/dnssec"
|
||||||
_ "github.com/miekg/coredns/middleware/erratic"
|
_ "github.com/coredns/coredns/middleware/erratic"
|
||||||
_ "github.com/miekg/coredns/middleware/errors"
|
_ "github.com/coredns/coredns/middleware/errors"
|
||||||
_ "github.com/miekg/coredns/middleware/etcd"
|
_ "github.com/coredns/coredns/middleware/etcd"
|
||||||
_ "github.com/miekg/coredns/middleware/file"
|
_ "github.com/coredns/coredns/middleware/file"
|
||||||
_ "github.com/miekg/coredns/middleware/health"
|
_ "github.com/coredns/coredns/middleware/health"
|
||||||
_ "github.com/miekg/coredns/middleware/kubernetes"
|
_ "github.com/coredns/coredns/middleware/kubernetes"
|
||||||
_ "github.com/miekg/coredns/middleware/loadbalance"
|
_ "github.com/coredns/coredns/middleware/loadbalance"
|
||||||
_ "github.com/miekg/coredns/middleware/log"
|
_ "github.com/coredns/coredns/middleware/log"
|
||||||
_ "github.com/miekg/coredns/middleware/metrics"
|
_ "github.com/coredns/coredns/middleware/metrics"
|
||||||
_ "github.com/miekg/coredns/middleware/pprof"
|
_ "github.com/coredns/coredns/middleware/pprof"
|
||||||
_ "github.com/miekg/coredns/middleware/proxy"
|
_ "github.com/coredns/coredns/middleware/proxy"
|
||||||
_ "github.com/miekg/coredns/middleware/reverse"
|
_ "github.com/coredns/coredns/middleware/reverse"
|
||||||
_ "github.com/miekg/coredns/middleware/rewrite"
|
_ "github.com/coredns/coredns/middleware/rewrite"
|
||||||
_ "github.com/miekg/coredns/middleware/root"
|
_ "github.com/coredns/coredns/middleware/root"
|
||||||
_ "github.com/miekg/coredns/middleware/secondary"
|
_ "github.com/coredns/coredns/middleware/secondary"
|
||||||
_ "github.com/miekg/coredns/middleware/trace"
|
_ "github.com/coredns/coredns/middleware/trace"
|
||||||
_ "github.com/miekg/coredns/middleware/whoami"
|
_ "github.com/coredns/coredns/middleware/whoami"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package dnsserver
|
package dnsserver
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
"github.com/mholt/caddy/caddyfile"
|
"github.com/mholt/caddy/caddyfile"
|
||||||
|
|
|
@ -9,11 +9,11 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/metrics/vars"
|
"github.com/coredns/coredns/middleware/metrics/vars"
|
||||||
"github.com/miekg/coredns/middleware/pkg/edns"
|
"github.com/coredns/coredns/middleware/pkg/edns"
|
||||||
"github.com/miekg/coredns/middleware/pkg/rcode"
|
"github.com/coredns/coredns/middleware/pkg/rcode"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -2,26 +2,26 @@
|
||||||
package core
|
package core
|
||||||
|
|
||||||
import (
|
import (
|
||||||
_ "github.com/miekg/coredns/middleware/auto"
|
_ "github.com/coredns/coredns/middleware/auto"
|
||||||
_ "github.com/miekg/coredns/middleware/bind"
|
_ "github.com/coredns/coredns/middleware/bind"
|
||||||
_ "github.com/miekg/coredns/middleware/cache"
|
_ "github.com/coredns/coredns/middleware/cache"
|
||||||
_ "github.com/miekg/coredns/middleware/chaos"
|
_ "github.com/coredns/coredns/middleware/chaos"
|
||||||
_ "github.com/miekg/coredns/middleware/dnssec"
|
_ "github.com/coredns/coredns/middleware/dnssec"
|
||||||
_ "github.com/miekg/coredns/middleware/erratic"
|
_ "github.com/coredns/coredns/middleware/erratic"
|
||||||
_ "github.com/miekg/coredns/middleware/errors"
|
_ "github.com/coredns/coredns/middleware/errors"
|
||||||
_ "github.com/miekg/coredns/middleware/etcd"
|
_ "github.com/coredns/coredns/middleware/etcd"
|
||||||
_ "github.com/miekg/coredns/middleware/file"
|
_ "github.com/coredns/coredns/middleware/file"
|
||||||
_ "github.com/miekg/coredns/middleware/health"
|
_ "github.com/coredns/coredns/middleware/health"
|
||||||
_ "github.com/miekg/coredns/middleware/kubernetes"
|
_ "github.com/coredns/coredns/middleware/kubernetes"
|
||||||
_ "github.com/miekg/coredns/middleware/loadbalance"
|
_ "github.com/coredns/coredns/middleware/loadbalance"
|
||||||
_ "github.com/miekg/coredns/middleware/log"
|
_ "github.com/coredns/coredns/middleware/log"
|
||||||
_ "github.com/miekg/coredns/middleware/metrics"
|
_ "github.com/coredns/coredns/middleware/metrics"
|
||||||
_ "github.com/miekg/coredns/middleware/pprof"
|
_ "github.com/coredns/coredns/middleware/pprof"
|
||||||
_ "github.com/miekg/coredns/middleware/proxy"
|
_ "github.com/coredns/coredns/middleware/proxy"
|
||||||
_ "github.com/miekg/coredns/middleware/reverse"
|
_ "github.com/coredns/coredns/middleware/reverse"
|
||||||
_ "github.com/miekg/coredns/middleware/rewrite"
|
_ "github.com/coredns/coredns/middleware/rewrite"
|
||||||
_ "github.com/miekg/coredns/middleware/root"
|
_ "github.com/coredns/coredns/middleware/root"
|
||||||
_ "github.com/miekg/coredns/middleware/secondary"
|
_ "github.com/coredns/coredns/middleware/secondary"
|
||||||
_ "github.com/miekg/coredns/middleware/trace"
|
_ "github.com/coredns/coredns/middleware/trace"
|
||||||
_ "github.com/miekg/coredns/middleware/whoami"
|
_ "github.com/coredns/coredns/middleware/whoami"
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,7 +2,7 @@ package main
|
||||||
|
|
||||||
//go:generate go run directives_generate.go
|
//go:generate go run directives_generate.go
|
||||||
|
|
||||||
import "github.com/miekg/coredns/coremain"
|
import "github.com/coredns/coredns/coremain"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
coremain.Run()
|
coremain.Run()
|
||||||
|
|
|
@ -14,10 +14,10 @@ import (
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
|
|
||||||
// Plug in CoreDNS
|
// Plug in CoreDNS
|
||||||
_ "github.com/miekg/coredns/core"
|
_ "github.com/coredns/coredns/core"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -112,7 +112,7 @@ func fatalIfErr(err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
middlewarePath = "github.com/miekg/coredns/middleware/"
|
middlewarePath = "github.com/coredns/coredns/middleware/"
|
||||||
middlewareFile = "middleware.cfg"
|
middlewareFile = "middleware.cfg"
|
||||||
header = "// generated by directives_generate.go; DO NOT EDIT\n"
|
header = "// generated by directives_generate.go; DO NOT EDIT\n"
|
||||||
)
|
)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
# <order>:<middleware-name>:<fully-qualified-package-name>
|
# <order>:<middleware-name>:<fully-qualified-package-name>
|
||||||
#
|
#
|
||||||
# External middleware example:
|
# External middleware example:
|
||||||
# 80:log:github.com/miekg/coredns/middleware/log
|
# 80:log:github.com/coredns/coredns/middleware/log
|
||||||
# Local middleware example:
|
# Local middleware example:
|
||||||
# 80:log:log
|
# 80:log:log
|
||||||
|
|
||||||
|
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"regexp"
|
"regexp"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/file"
|
"github.com/coredns/coredns/middleware/file"
|
||||||
"github.com/miekg/coredns/middleware/metrics"
|
"github.com/coredns/coredns/middleware/metrics"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -8,12 +8,12 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/file"
|
"github.com/coredns/coredns/middleware/file"
|
||||||
"github.com/miekg/coredns/middleware/metrics"
|
"github.com/coredns/coredns/middleware/metrics"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/file"
|
"github.com/coredns/coredns/middleware/file"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ package auto
|
||||||
import (
|
import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/file"
|
"github.com/coredns/coredns/middleware/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Zones maps zone names to a *Zone. This keep track of what we zones we have loaded at
|
// Zones maps zone names to a *Zone. This keep track of what we zones we have loaded at
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package middleware
|
package middleware
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package bind
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
4
middleware/cache/cache.go
vendored
4
middleware/cache/cache.go
vendored
|
@ -7,8 +7,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
6
middleware/cache/cache_test.go
vendored
6
middleware/cache/cache_test.go
vendored
|
@ -6,9 +6,9 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
lru "github.com/hashicorp/golang-lru"
|
lru "github.com/hashicorp/golang-lru"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
4
middleware/cache/handler.go
vendored
4
middleware/cache/handler.go
vendored
|
@ -3,8 +3,8 @@ package cache
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
|
2
middleware/cache/item.go
vendored
2
middleware/cache/item.go
vendored
|
@ -3,7 +3,7 @@ package cache
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
4
middleware/cache/setup.go
vendored
4
middleware/cache/setup.go
vendored
|
@ -5,8 +5,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -4,8 +4,8 @@ package chaos
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -3,9 +3,9 @@ package chaos
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package chaos
|
package chaos
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,10 +5,10 @@ package dnssec
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
"github.com/miekg/coredns/middleware/pkg/singleflight"
|
"github.com/coredns/coredns/middleware/pkg/singleflight"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package dnssec
|
package dnssec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
|
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/file"
|
"github.com/coredns/coredns/middleware/file"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/hashicorp/golang-lru"
|
"github.com/hashicorp/golang-lru"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -4,7 +4,7 @@ package erratic
|
||||||
import (
|
import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -3,8 +3,8 @@ package erratic
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,8 +8,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/hashicorp/go-syslog"
|
"github.com/hashicorp/go-syslog"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -7,9 +7,9 @@ package etcd
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,11 +7,11 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/singleflight"
|
"github.com/coredns/coredns/middleware/pkg/singleflight"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
etcdc "github.com/coreos/etcd/client"
|
etcdc "github.com/coreos/etcd/client"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,11 +3,11 @@ package etcd
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/debug"
|
"github.com/coredns/coredns/middleware/pkg/debug"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
package etcd
|
package etcd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -10,9 +10,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,10 +6,10 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,12 +6,12 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/middleware/pkg/singleflight"
|
"github.com/coredns/coredns/middleware/pkg/singleflight"
|
||||||
mwtls "github.com/miekg/coredns/middleware/pkg/tls"
|
mwtls "github.com/coredns/coredns/middleware/pkg/tls"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
|
|
||||||
etcdc "github.com/coreos/etcd/client"
|
etcdc "github.com/coreos/etcd/client"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -9,12 +9,12 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/pkg/singleflight"
|
"github.com/coredns/coredns/middleware/pkg/singleflight"
|
||||||
"github.com/miekg/coredns/middleware/pkg/tls"
|
"github.com/coredns/coredns/middleware/pkg/tls"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
etcdc "github.com/coreos/etcd/client"
|
etcdc "github.com/coreos/etcd/client"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package file
|
package file
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware/file/tree"
|
"github.com/coredns/coredns/middleware/file/tree"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package file
|
package file
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware/file/tree"
|
"github.com/coredns/coredns/middleware/file/tree"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/rcode"
|
"github.com/coredns/coredns/middleware/pkg/rcode"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package file
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/file/tree"
|
"github.com/coredns/coredns/middleware/file/tree"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/fsnotify/fsnotify"
|
"github.com/fsnotify/fsnotify"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package health
|
package health
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,9 +3,9 @@ package kubernetes
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -9,12 +9,12 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
dnsstrings "github.com/miekg/coredns/middleware/pkg/strings"
|
dnsstrings "github.com/coredns/coredns/middleware/pkg/strings"
|
||||||
"github.com/miekg/coredns/middleware/proxy"
|
"github.com/coredns/coredns/middleware/proxy"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"k8s.io/client-go/1.5/kubernetes"
|
"k8s.io/client-go/1.5/kubernetes"
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/etcd/msg"
|
"github.com/coredns/coredns/middleware/etcd/msg"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsutil"
|
"github.com/coredns/coredns/middleware/pkg/dnsutil"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
unversionedapi "k8s.io/client-go/1.5/pkg/api/unversioned"
|
unversionedapi "k8s.io/client-go/1.5/pkg/api/unversioned"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
package loadbalance
|
package loadbalance
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -3,9 +3,9 @@ package loadbalance
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -2,8 +2,8 @@ package loadbalance
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -5,13 +5,13 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/metrics/vars"
|
"github.com/coredns/coredns/middleware/metrics/vars"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/pkg/rcode"
|
"github.com/coredns/coredns/middleware/pkg/rcode"
|
||||||
"github.com/miekg/coredns/middleware/pkg/replacer"
|
"github.com/coredns/coredns/middleware/pkg/replacer"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
|
|
||||||
"github.com/hashicorp/go-syslog"
|
"github.com/hashicorp/go-syslog"
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
|
|
|
@ -3,7 +3,7 @@ package log
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/response"
|
"github.com/coredns/coredns/middleware/pkg/response"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package metrics
|
package metrics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/metrics/vars"
|
"github.com/coredns/coredns/middleware/metrics/vars"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/pkg/rcode"
|
"github.com/coredns/coredns/middleware/pkg/rcode"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
"github.com/miekg/coredns/middleware/metrics/vars"
|
"github.com/coredns/coredns/middleware/metrics/vars"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,10 +3,10 @@ package metrics
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
mtest "github.com/miekg/coredns/middleware/metrics/test"
|
mtest "github.com/coredns/coredns/middleware/metrics/test"
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/miekg/coredns/core/dnsserver"
|
"github.com/coredns/coredns/core/dnsserver"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package vars
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package vars
|
package vars
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
|
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/dnsrecorder"
|
"github.com/coredns/coredns/middleware/pkg/dnsrecorder"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package response
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/test"
|
"github.com/coredns/coredns/middleware/test"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getPEMFiles(t *testing.T) (rmFunc func(), cert, key, ca string) {
|
func getPEMFiles(t *testing.T) (rmFunc func(), cert, key, ca string) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
"github.com/mholt/caddy"
|
"github.com/mholt/caddy"
|
||||||
"github.com/miekg/coredns/middleware"
|
"github.com/coredns/coredns/middleware"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -51,7 +51,7 @@ proxy FROM TO... {
|
||||||
* `protocol` specifies what protocol to use to speak to an upstream, `dns` (the default) is plain
|
* `protocol` specifies what protocol to use to speak to an upstream, `dns` (the default) is plain
|
||||||
old DNS, and `https_google` uses `https://dns.google.com` and speaks a JSON DNS dialect. Note when
|
old DNS, and `https_google` uses `https://dns.google.com` and speaks a JSON DNS dialect. Note when
|
||||||
using this **TO** will be ignored. The `grpc` option will talk to a server that has implemented
|
using this **TO** will be ignored. The `grpc` option will talk to a server that has implemented
|
||||||
the [DnsService](https://github.com/miekg/coredns/middleware/proxy/pb/dns.proto).
|
the [DnsService](https://github.com/coredns/coredns/middleware/proxy/pb/dns.proto).
|
||||||
An out-of-tree middleware that implements the server side of this can be found at
|
An out-of-tree middleware that implements the server side of this can be found at
|
||||||
[here](https://github.com/infobloxopen/coredns-grpc).
|
[here](https://github.com/infobloxopen/coredns-grpc).
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/coredns/middleware/pkg/singleflight"
|
"github.com/coredns/coredns/middleware/pkg/singleflight"
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,7 +3,7 @@ package proxy
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/miekg/coredns/request"
|
"github.com/coredns/coredns/request"
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue