You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Mike Squire <mi...@somosis.co.uk> on 2007/02/22 01:32:37 UTC
[PATCH] problem getting TXT DNS records in sa-update with broken DNS servers
Hi,
The symptom is sa-update getting a NOTIMP (not implemented) when it tries to
get TXT DNS records (meaning it fails to get any of the information it needs
to do the update).
The diagnosis is that the DNS server in my (old) Alcatel router, while quite
happy to return TXT records with an ANY query, returns NOTIMP when
specifically asked for TXT records.
The solution is the attached patch which does an ANY query instead of TXT and
checks each record is TXT before processing it. The patch is against my
installed debian testing version (3.1.7) but I notice that no one has changed
the behaviour in the trunk.
Ok, so it's a work-around for broken DNS servers and not a bug fix. But it
won't affect existing users and will solve the problem for people in the same
situation as me.
Cheers,
Mike.