miekg/dns — pull request #39 by abh (2013-05-08 02:35:27+00:00)
Title: Use SourceNetmask to truncate IP addresses in EDNS-CLIENT-SUBNET packets

OpenDNS returns SERVFAIL to the client if the address in the EDNS packet
is too long. The spec says to truncate it to the shortest possible address
when the SourceNetmask is applied.