This commit is contained in:
Miek Gieben 2016-10-27 11:48:37 +00:00
parent 7ce7100122
commit 94dc28646d
18 changed files with 21 additions and 3 deletions

View file

@ -102,6 +102,7 @@ func (p Proxy) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.Msg) (
return p.Next.ServeDNS(ctx, w, r)
}
// Name implements the Handler interface.
func (p Proxy) Name() string { return "proxy" }
// defaultTimeout is the default networking timeout for DNS requests.