mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
some fixes
This commit is contained in:
@@ -49,7 +49,7 @@ func New(hosts []string) Proxy {
|
|||||||
upstream.Hosts[i] = uh
|
upstream.Hosts[i] = uh
|
||||||
}
|
}
|
||||||
p.Upstreams = []Upstream{upstream}
|
p.Upstreams = []Upstream{upstream}
|
||||||
return p, nil
|
return p
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p Proxy) Lookup(state middleware.State, name string, tpe uint16) (*dns.Msg, error) {
|
func (p Proxy) Lookup(state middleware.State, name string, tpe uint16) (*dns.Msg, error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user