update dns header struct