[dns-operations] DNS ANY requests / UltraDNS

Tony Finch dot at dotat.at
Thu Jan 10 12:41:10 UTC 2013


Scott Brynen <scott.brynen at visioncritical.com> wrote:
>
> qmail is the 1st piece of software out there that jumps to mind that is
> going to break, but what else is there out there that makes these
> queries?

Rather than patching recursive name servers to work around the problem,
qmail admins could try patching it as follows. The only time qmail makes
ANY queries is when trying to canonicalize mail domains, and since this is
unnecessary the buggy code can be safely disabled.

More details at http://fanf.livejournal.com/122220.html

--- qmail-remote.c~     1998-06-15 11:53:16.000000000 +0100
+++ qmail-remote.c      2013-01-10 10:02:18.000000000 +0000
@@ -374,7 +374,7 @@
   while (*recips) {
     if (!saa_readyplus(&reciplist,1)) temp_nomem();
     reciplist.sa[reciplist.len] = sauninit;
-    addrmangle(reciplist.sa + reciplist.len,*recips,&flagalias,!relayhost);
+    addrmangle(reciplist.sa + reciplist.len,*recips,&flagalias,0);
     if (!flagalias) flagallaliases = 0;
     ++reciplist.len;
     ++recips;

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
Forties, Cromarty: East, veering southeast, 4 or 5, occasionally 6 at first.
Rough, becoming slight or moderate. Showers, rain at first. Moderate or good,
occasionally poor at first.



More information about the dns-operations mailing list