Hi,
im running spamassassin --lint -D and get the following error:
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.51
debug: trying (3) motorola.com...
debug: looking up NS for 'motorola.com'
debug: NS lookup of motorola.com failed horribly => Perhaps your resolv.conf 
isn't pointing at a valid server?
debug: All NS queries failed => DNS unavailable (set dns_available to 
override)
debug: is DNS available? 0

I got SA version 3.0.3 and the nameserver in resolv.conf are ok.
can u tell me where to search for the problem. 
NET::DNS works also, i tried this with a small perl script:
#!/usr/bin/perl -w
 
 use Net::DNS;
 
 $domain = $ARGV[0] || die "usage: $0 domain";
 
 $resolver = new Net::DNS::Resolver;
 
     # MX-Record abfragen 
 @mx = mx($resolver, $domain);
 
 if (@mx) {
         # Erfolg! Über alle Resource Records iterieren
     foreach $rr (@mx) {
         print $rr->preference, " ", 
               $rr->exchange, "\n";
     }
 } else {
         # Leere Liste, Fehler!
     print "Kein MX-Record für $domain: ", 
           $resolver->errorstring, "\n";
 }

thanks for help
stefan
-- 
The remaining work to finish in order to reach your goal increases as 
the deadline approaches
                -- Murphy's Laws of Computation n°1

Reply via email to