1 diff -ur dnsmasq-2.47/src/forward.c dnsmasq-2.47-patched/src/forward.c 2 --- dnsmasq-2.47/src/forward.c 2009-02-01 17:59:48.000000000 +0200 3 +++ dnsmasq-2.47-patched/src/forward.c 2009-03-18 19:10:22.000000000 +0200 4 @@ -488,9 +488,12 @@ 5 return; 6 7 server = forward->sentto; 8 + 9 + if ( (header->rcode == NXDOMAIN) && ((daemon->options & OPT_ORDER) != 0) && (server->next != NULL) ) 10 + header->rcode = SERVFAIL; 11 12 if ((header->rcode == SERVFAIL || header->rcode == REFUSED) && 13 - !(daemon->options & OPT_ORDER) && 14 + ((daemon->options & OPT_ORDER) != 0) && 15 forward->forwardall == 0) 16 /* for broken servers, attempt to send to another one. */ 17 { 18