be really paranoid and check that $dns->header->rcode could still throw a fatal error, so eval {} it.