Return a error tuple if the binary data does not match the required
DNS packet structure.