some fixes
This commit is contained in:
parent
740178c83f
commit
e985af7870
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue