On Sun, 8 Aug 2010, Andreas Schulze wrote:
Hi,
at my Debian Lenny /etc/resolv.conf contains "options inet6"
sa-update failed with retruncode 4.
GET http://spamassassin.apache.org/updates/MIRRORED.BY request
failed: 500 Can't connect to spamassassin.apache.org:80 (Bad hostname
'spamassassin.apache.org'): 500 Can't connect to spamassassin.apache.org:80 (Bad
hostname 'spamassassin.apache.org')
error: no mirror data available for channel updates.spamassassin.org
channel: MIRRORED.BY contents were missing, channel failed
if I remove "options inet6" from /etc/resolv.conf
the update runs as expected.
Any suggestions ?
Andreas
IPv4 uses dns 'A' records, IPv6 uses dns 'AAAA' records.
A host that only has IPv4 connectivity will have an 'A' record
but no 'AAAA' records. A host that has both IPv4 & IPv6 will have
both types of dns records.
If you do a host lookup and specify type AAAA you can find if a system
has a v6 presence. Best practice is that if you don't get an AAAA record
for a system you should try for A records (IE look for a v4 address)
(unless your system -only- has v6 connectivity).
spamassassin.apache.org has an A record (IE an IPv4 address) but no
AAAA record (IE no IPv6 address).
For some reason when you set that "options inet6" your system is not
willing to fall back to IPv4 mode (or a bug is preventing it).
That's what you need to look into (until such time as
spamassassin.apache.org gets v6 connected ;).
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{