You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2007/08/27 11:26:21 UTC
Re: Can't resolve domain to addresses at /usr...
John Fleming writes:
> When I run sa-update, I have recently started to get this error which
> terminates the update run:
>
> [17894] dbg: channel: attempting channel updates.spamassassin.org
> [17894] dbg: channel: update directory
> /var/lib/spamassassin/3.001007/updates_spamassassin_org
> [17894] dbg: channel: channel cf file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
> [17894] dbg: channel: channel pre file
> /var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
> [17894] dbg: channel: metadata version = 555165
> can't resolve "wa9als.com" to address at
> /usr/lib/perl5/Net/DNS/Resolver/Base.pm line 751.
>
> I've looked at that line in Base.pm, but I have no idea what might be going
> on. Can someone help point me in the right direction? As they say, "It
> used to work."
Interesting! Could you open a bugzilla entry about this? also,
attach the contents of /etc/resolv.conf.
--j.
Re: Can't resolve domain to addresses at /usr...
Posted by John Fleming <jo...@wa9als.com>.
On Tue, August 28, 2007 5:28 am, Daryl C. W. O'Shea wrote:
> Justin Mason wrote:
>> John Fleming writes:
>>> When I run sa-update, I have recently started to get this error
>>> which
>>> terminates the update run:
>>>
>>> [17894] dbg: channel: attempting channel updates.spamassassin.org
>>> [17894] dbg: channel: update directory
>>> /var/lib/spamassassin/3.001007/updates_spamassassin_org
>>> [17894] dbg: channel: channel cf file
>>> /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
>>> [17894] dbg: channel: channel pre file
>>> /var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
>>> [17894] dbg: channel: metadata version = 555165
>>> can't resolve "wa9als.com" to address at
>>> /usr/lib/perl5/Net/DNS/Resolver/Base.pm line 751.
>>>
>>> I've looked at that line in Base.pm, but I have no idea what might
>>> be going
>>> on. Can someone help point me in the right direction? As they
>>> say, "It
>>> used to work."
>>
>> Interesting! Could you open a bugzilla entry about this? also,
>> attach the contents of /etc/resolv.conf.
>
> Don't bother with the bugzilla entry. Net::DNS will give you this
> error
> if you try to use a hostname in your /etc/resolv.conf file rather than
> a
> name server IP as you should.
>
> In fact, I can reproduce this:
>
> [13973] dbg: channel: attempting channel updates.spamassassin.org
> [13973] dbg: channel: update directory
> /var/lib/spamassassin/3.002002/updates_spamassassin_org
> [13973] dbg: channel: channel cf file
> /var/lib/spamassassin/3.002002/updates_spamassassin_org.cf
> [13973] dbg: channel: channel pre file
> /var/lib/spamassassin/3.002002/updates_spamassassin_org.pre
> can't resolve "wa9als.com" to address at
> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm
> line 751.
> [dos@cyan ~]$ cat /etc/resolv.conf
> nameserver wa9als.com
> [dos@cyan ~]$
>
>
> Daryl
>
Yup, that was it - domain name in resolv.conf instead of IP. But...
It used to work, and I wish I understood what changed. No Bugzilla
filed. THANKS A BUNCH for the answer! - John
Re: Can't resolve domain to addresses at /usr...
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Justin Mason wrote:
> John Fleming writes:
>> When I run sa-update, I have recently started to get this error which
>> terminates the update run:
>>
>> [17894] dbg: channel: attempting channel updates.spamassassin.org
>> [17894] dbg: channel: update directory
>> /var/lib/spamassassin/3.001007/updates_spamassassin_org
>> [17894] dbg: channel: channel cf file
>> /var/lib/spamassassin/3.001007/updates_spamassassin_org.cf
>> [17894] dbg: channel: channel pre file
>> /var/lib/spamassassin/3.001007/updates_spamassassin_org.pre
>> [17894] dbg: channel: metadata version = 555165
>> can't resolve "wa9als.com" to address at
>> /usr/lib/perl5/Net/DNS/Resolver/Base.pm line 751.
>>
>> I've looked at that line in Base.pm, but I have no idea what might be going
>> on. Can someone help point me in the right direction? As they say, "It
>> used to work."
>
> Interesting! Could you open a bugzilla entry about this? also,
> attach the contents of /etc/resolv.conf.
Don't bother with the bugzilla entry. Net::DNS will give you this error
if you try to use a hostname in your /etc/resolv.conf file rather than a
name server IP as you should.
In fact, I can reproduce this:
[13973] dbg: channel: attempting channel updates.spamassassin.org
[13973] dbg: channel: update directory
/var/lib/spamassassin/3.002002/updates_spamassassin_org
[13973] dbg: channel: channel cf file
/var/lib/spamassassin/3.002002/updates_spamassassin_org.cf
[13973] dbg: channel: channel pre file
/var/lib/spamassassin/3.002002/updates_spamassassin_org.pre
can't resolve "wa9als.com" to address at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/Resolver/Base.pm
line 751.
[dos@cyan ~]$ cat /etc/resolv.conf
nameserver wa9als.com
[dos@cyan ~]$
Daryl