You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Chris <cp...@earthlink.net> on 2005/09/10 18:22:45 UTC
Net::DNS install assistance
I was in the process of upgrading my Net::DNS module from .48 to .53 and I
noticed the following during tests:
t/00-load..................ok
t/00-pod...................ok
t/00-version...............ok
t/01-resolver-env..........ok
t/01-resolver-file.........ok
7/8 skipped: Could not read configuration file
t/01-resolver-opt..........ok
t/01-resolver..............ok
t/02-header................ok
t/03-question..............ok
t/04-packet-unique-push....ok
t/04-packet................ok
t/05-rr-opt................ok
t/05-rr-sshfp..............skipped
all skipped: Digest::BubbleBabble not installed.
t/05-rr-txt................ok
t/05-rr-unknown............ok
t/05-rr....................ok
t/06-update................ok
t/07-misc..................ok
t/08-online................ok
t/09-tkey..................ok
t/10-recurse...............skipped
all skipped: Cannot run these tests from this IP:192.168.1.2
I'm particulary concerned by the last test - Cannot run tests from
192.168.1.2. I assume, and I'm not sure, that its reading nameserver info
from my resolv.conf:
nameserver 192.168.1.2
# nameserver 127.0.0.1
# nameserver 207.217.120.83
# nameserver 207.217.126.81
nameserver 207.69.188.185
nameserver 207.69.188.186
nameserver 207.69.188.187
Should there be a different ip, ie..127.0.0.1 instead of 192.168.1.2?
--
Chris
Registered Linux User 283774 http://counter.li.org
11:17:05 up 16:38, 1 user, load average: 0.30, 0.68, 0.68
Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
Re: Net::DNS install assistance
Posted by Chris <cp...@earthlink.net>.
On Saturday 10 September 2005 08:50 pm, jdow wrote:
> From: "Chris" <cp...@earthlink.net>
>
>
> Does resolv.conf STILL show local host?
>
> And does your local host also support a caching server for the whole
> internet? That's the usual setup you need.
> {^_^}
Thanks to everyone for replying to me on this. The answer was provided to me
in a reply from Olaf M. Kolkman, the maintainer for NET::DNS:
All these tests are skipped for good reasons, you do not have to
worry about them.
The IP address is the IP address of your box. Its a private IP
address, an indication that you may be using a NAT. Being behind a
NAT is a common case for failure.
If I understand NAT correctly my DSL modem is also acting as a router thus
providing the Network Address Translation.
--
Chris
Registered Linux User 283774 http://counter.li.org
14:44:42 up 1 day, 2:57, 1 user, load average: 0.35, 0.25, 0.19
Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
Re: Net::DNS install assistance
Posted by jdow <jd...@earthlink.net>.
From: "Chris" <cp...@earthlink.net>
> On Saturday 10 September 2005 11:29 am, jdow wrote:
>
>> > t/05-rr-txt................ok
>> > t/05-rr-unknown............ok
>> > t/05-rr....................ok
>> > t/06-update................ok
>> > t/07-misc..................ok
>> > t/08-online................ok
>> > t/09-tkey..................ok
>> > t/10-recurse...............skipped
>> > all skipped: Cannot run these tests from this IP:192.168.1.2
>> >
>> > I'm particulary concerned by the last test - Cannot run tests from
>> > 192.168.1.2. I assume, and I'm not sure, that its reading nameserver
>> > info from my resolv.conf:
>> >
>> > nameserver 192.168.1.2
>> > # nameserver 127.0.0.1
>> > # nameserver 207.217.120.83
>> > # nameserver 207.217.126.81
>> > nameserver 207.69.188.185
>> > nameserver 207.69.188.186
>> > nameserver 207.69.188.187
>> >
>> > Should there be a different ip, ie..127.0.0.1 instead of 192.168.1.2?
>>
>> Likely. That is what I have. I run the name server on the same machine
>> as SpamAssassin so it's 127.0.0.1 rather than the external address.
>> (And yes, I do know I am a bad girl for mixing firewall and servers on
>> the same machine.)
>>
>> {^_^}
>
> Thats what I thought. I changed my resolv.conf to show nameserver
> 127.0.0.1
> did a network restart, but the Net::DNS tests are determined to use
> 192.168.1.2, I wonder if a system restart is needed?
Does resolv.conf STILL show local host?
And does your local host also support a caching server for the whole
internet? That's the usual setup you need.
{^_^}
Re: Net::DNS install assistance
Posted by Chris <cp...@earthlink.net>.
On Saturday 10 September 2005 11:29 am, jdow wrote:
> > t/05-rr-txt................ok
> > t/05-rr-unknown............ok
> > t/05-rr....................ok
> > t/06-update................ok
> > t/07-misc..................ok
> > t/08-online................ok
> > t/09-tkey..................ok
> > t/10-recurse...............skipped
> > all skipped: Cannot run these tests from this IP:192.168.1.2
> >
> > I'm particulary concerned by the last test - Cannot run tests from
> > 192.168.1.2. I assume, and I'm not sure, that its reading nameserver
> > info from my resolv.conf:
> >
> > nameserver 192.168.1.2
> > # nameserver 127.0.0.1
> > # nameserver 207.217.120.83
> > # nameserver 207.217.126.81
> > nameserver 207.69.188.185
> > nameserver 207.69.188.186
> > nameserver 207.69.188.187
> >
> > Should there be a different ip, ie..127.0.0.1 instead of 192.168.1.2?
>
> Likely. That is what I have. I run the name server on the same machine
> as SpamAssassin so it's 127.0.0.1 rather than the external address.
> (And yes, I do know I am a bad girl for mixing firewall and servers on
> the same machine.)
>
> {^_^}
Thats what I thought. I changed my resolv.conf to show nameserver 127.0.0.1
did a network restart, but the Net::DNS tests are determined to use
192.168.1.2, I wonder if a system restart is needed?
--
Chris
Registered Linux User 283774 http://counter.li.org
11:41:04 up 17:02, 1 user, load average: 1.04, 1.18, 1.04
Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
Re: Net::DNS install assistance
Posted by jdow <jd...@earthlink.net>.
From: "Chris" <cp...@earthlink.net>
>I was in the process of upgrading my Net::DNS module from .48 to .53 and I
> noticed the following during tests:
>
> t/00-load..................ok
> t/00-pod...................ok
> t/00-version...............ok
> t/01-resolver-env..........ok
> t/01-resolver-file.........ok
> 7/8 skipped: Could not read configuration file
> t/01-resolver-opt..........ok
> t/01-resolver..............ok
> t/02-header................ok
> t/03-question..............ok
> t/04-packet-unique-push....ok
> t/04-packet................ok
> t/05-rr-opt................ok
> t/05-rr-sshfp..............skipped
> all skipped: Digest::BubbleBabble not installed.
> t/05-rr-txt................ok
> t/05-rr-unknown............ok
> t/05-rr....................ok
> t/06-update................ok
> t/07-misc..................ok
> t/08-online................ok
> t/09-tkey..................ok
> t/10-recurse...............skipped
> all skipped: Cannot run these tests from this IP:192.168.1.2
>
> I'm particulary concerned by the last test - Cannot run tests from
> 192.168.1.2. I assume, and I'm not sure, that its reading nameserver info
> from my resolv.conf:
>
> nameserver 192.168.1.2
> # nameserver 127.0.0.1
> # nameserver 207.217.120.83
> # nameserver 207.217.126.81
> nameserver 207.69.188.185
> nameserver 207.69.188.186
> nameserver 207.69.188.187
>
> Should there be a different ip, ie..127.0.0.1 instead of 192.168.1.2?
Likely. That is what I have. I run the name server on the same machine
as SpamAssassin so it's 127.0.0.1 rather than the external address.
(And yes, I do know I am a bad girl for mixing firewall and servers on
the same machine.)
{^_^}