--- query.c (revision 3609) +++ query.c (working copy) @@ -1379,6 +1379,9 @@ edns = &nsd->edns_ipv6; } #endif + if (RCODE(q->packet) == RCODE_FORMAT) { + return; + } switch (q->edns.status) { case EDNS_NOT_PRESENT: break;