pull/1324/head
Darien Raymond 2018-10-19 06:45:10 +02:00
parent 37f838985c
commit fb7dd1a577
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ func (s *Server) LookupIP(domain string) ([]net.IP, error) {
if s.domainMatcher != nil {
idx := s.domainMatcher.Match(domain)
if idx > 0 {
ns := s.servers[idx]
ns := s.servers[s.domainIndexMap[idx]]
ips, err := s.queryIPTimeout(ns, domain)
if len(ips) > 0 {
return ips, nil