3 ms·
> LookupMX and Resolver.LookupMX now return DNS names that look like valid IP address, as well as valid domain names. Previously if a name server returned an IP
by nunez 1y ago
> LookupMX and Resolver.LookupMX now return DNS names that look like valid IP address, as well as valid domain names. Previously if a name server returned an IP address as a DNS name, LookupMX would discard it, as required by the RFCs. However, name servers in practice do sometimes return IP addresses.
This one is interesting; which servers return an IP address as a record? Why would they want to do this?
- TheDong 1y agoIf you look at the github issue related to the PR, you'll see some examples: https://github.com/golang/go/issues/56025#issuecomment-2066719220 https://github.com/golang/go/issues/56025#issuecomment-20667... Looks like the original poster on that thread is making it because Mailgun uses Go, and was running into issues related to this: https://github.com/golang/go/issues/56025#issuecomment-2672081851 https://github.com/golang/go/issues/56025#issuecomment-26720...
- deleted 1y ago[deleted]