The main problem was that SERVFAILs were not padded; the recovery of answer->opt_rr has to happen before answer_padding()