diff options
Diffstat (limited to 'middleware/httpproxy/tls.go')
-rw-r--r-- | middleware/httpproxy/tls.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/middleware/httpproxy/tls.go b/middleware/httpproxy/tls.go index 9651ac1c6..2c05a0331 100644 --- a/middleware/httpproxy/tls.go +++ b/middleware/httpproxy/tls.go @@ -5,13 +5,14 @@ import ( "net/http" "time" + "github.com/miekg/coredns/request" "github.com/miekg/dns" ) // Exchanger is an interface that specifies a type implementing a DNS resolver that // uses a HTTPS server. type Exchanger interface { - Exchange(*dns.Msg) (*dns.Msg, error) + Exchange(request.Request) (*dns.Msg, error) SetUpstream(*simpleUpstream) error OnStartup() error |