Safe guard DNS message decoding