miekg/dns — pull request #48 by discordianfish (2013-06-25 17:40:29+00:00)
Title: Use true random (crypto/rand) for Id

Using math/rand for this seems to be insecure. See http://tools.ietf.org/html/rfc5452
It might also make sense to revisit the source port generation if it's random enough. I've added a similar patch to https://code.google.com/p/go/issues/detail?id=5767