1
0
mirror of https://github.com/golang/go synced 2024-11-17 06:14:51 -07:00
Change-Id: I5333f8c51c4bfcfeae5f9ac1d39241ee50bdc62f
This commit is contained in:
Mateusz Poliwczak 2024-02-20 18:13:39 +01:00
parent 8e98e3112b
commit e2bc5874cb

View File

@ -405,10 +405,6 @@ func (c *conf) lookupOrder(r *Resolver, hostname string) (ret hostLookupOrder, d
return hostLookupCgo, dnsConf
}
// e.g. "mdns4", "mdns4_minimal"
// We already returned true before if it was *.local.
// libc wouldn't have found a hit on this anyway.
// We don't parse mdns.allow files. They're rare. If one
// exists, it might list other TLDs (besides .local) or even
// '*', so just let libc deal with it.