EDNS0 is a protocol extension to RFC 1035, it itself is written in RFC 2671 . EDNS0 allows larger than 512 bytes of UDP DNS packets.