fix LocalNameServer

pull/812/head
Darien Raymond 2018-01-10 13:32:48 +01:00
parent 7d2c34f674
commit 6a7887b655
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 1 additions and 2 deletions

View File

@ -216,8 +216,7 @@ func (*LocalNameServer) QueryA(domain string) <-chan *ARecord {
go func() {
defer close(response)
resolver := net.SystemIPResolver()
ips, err := resolver.LookupIP(domain)
ips, err := net.LookupIP(domain)
if err != nil {
newError("failed to lookup IPs for domain ", domain).Base(err).AtWarning().WriteToLog()
return