I suspect Net::DNS cannot parse "nameserver localhost". Try nameserver 127.0.0.1
instead, --j. Vinogratzky writes: > I thought so, too. But > ---8<--- > ; <<>> DiG 9.3.4 <<>> 3.2.3.updates.spamassassin.org ANY > ;; global options: printcmd > ;; Got answer: > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8343 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5 > > ;; QUESTION SECTION: > ;3.2.3.updates.spamassassin.org. IN ANY > > ;; ANSWER SECTION: > 3.2.3.updates.spamassassin.org. 3553 IN TXT "667074" > > ;; AUTHORITY SECTION: > spamassassin.org. 3553 IN NS a.auth-ns.sonic.net. > spamassassin.org. 3553 IN NS b.auth-ns.sonic.net. > spamassassin.org. 3553 IN NS c.auth-ns.sonic.net. > spamassassin.org. 3553 IN NS ns.hyperreal.org. > spamassassin.org. 3553 IN NS ns1.kluge.net. > > ;; ADDITIONAL SECTION: > a.auth-ns.sonic.net. 103038 IN A 209.204.159.20 > b.auth-ns.sonic.net. 103038 IN A 64.142.88.72 > c.auth-ns.sonic.net. 103038 IN A 69.9.186.104 > ns.hyperreal.org. 59617 IN A 209.237.226.90 > ns1.kluge.net. 172111 IN A 67.91.233.27 > > ;; Query time: 3 msec > ;; SERVER: 127.0.0.1#53(127.0.0.1) > ;; WHEN: Fri Jun 13 16:35:00 2008 > ;; MSG SIZE rcvd: 263 > ---8<--- > dig definitely works. > > cat /etc/resolv.conf > ---8<--- > search site > #nameserver 10.10.1.32 > nameserver localhost > ---8<--- > It is my own nameserver. > > very perplex. > Chris > > On Thu, Jun 12, 2008 at 12:01:55PM -0400, Theo Van Dinter wrote: > > My guess is that your assertion that DNS is working is false. > > > > :) > > > > What does "dig 3.2.3.updates.spamassassin.org ANY" return for you? Ought to > > be a TXT record and then numerous NS records for spamassassin.org. > > > > Perhaps your resolv.conf has multiple nameservers and the first one is > > having > > issues? > > > > Are you using someone else's DNS server which may be manipulating the > > results? > > > > Are you going through a firewall or DNS proxy which may not allow or > > mishandles certain requests? > > > > Have you run tcpdump/etc and watched the traffic to see what's going on? > > > > > > On Thu, Jun 12, 2008 at 08:25:06AM +0200, Vinogratzky wrote: > > > Nobody has a hint? > > > > > > Chris > > > > > > On Mo, Jun 02, 2008 at 04:56:25 +0200, Vinogratzky wrote: > > > > Hi, > > > > > > > > i have a installation of spamassassin with postfix and amavis. > > > > sa-update brings up an error: > > > > "dns: query failed: 3.2.3.updates.spamassassin.org => no nameservers" > > > > which is strange. DNS is working. > > > > > > > > Here is the -D output: > > > > ---8<--- > > > > [3496] dbg: logger: adding facilities: all > > > > [3496] dbg: logger: logging level is DBG > > > > [3496] dbg: generic: SpamAssassin version 3.2.3 > > > > [3496] dbg: config: score set 0 chosen. > > > > [3496] dbg: dns: no ipv6 > > > > [3496] dbg: dns: is Net::DNS::Resolver available? yes > > > > [3496] dbg: dns: Net::DNS version: 0.59 > > > > [3496] dbg: generic: sa-update version svn540384 > > > > [3496] dbg: generic: using update directory: > > > > /var/lib/spamassassin/3.002003 > > > > [3496] dbg: diag: perl platform: 5.008008 linux > > > > [3496] dbg: diag: module installed: Digest::SHA1, version 2.11 > > > > [3496] dbg: diag: module installed: HTML::Parser, version 3.55 > > > > [3496] dbg: diag: module installed: Net::DNS, version 0.59 > > > > [3496] dbg: diag: module installed: MIME::Base64, version 3.07 > > > > [3496] dbg: diag: module installed: DB_File, version 1.814 > > > > [3496] dbg: diag: module installed: Net::SMTP, version 2.29 > > > > [3496] dbg: diag: module not installed: Mail::SPF ('require' failed) > > > > [3496] dbg: diag: module installed: Mail::SPF::Query, version 1.999001 > > > > [3496] dbg: diag: module not installed: IP::Country::Fast ('require' > > > > failed) > > > > [3496] dbg: diag: module not installed: Razor2::Client::Agent > > > > ('require' failed) > > > > [3496] dbg: diag: module not installed: Net::Ident ('require' failed) > > > > [3496] dbg: diag: module not installed: IO::Socket::INET6 ('require' > > > > failed) > > > > [3496] dbg: diag: module not installed: IO::Socket::SSL ('require' > > > > failed) > > > > [3496] dbg: diag: module installed: Compress::Zlib, version 1.42 > > > > [3496] dbg: diag: module installed: Time::HiRes, version 1.86 > > > > [3496] dbg: diag: module not installed: Mail::DomainKeys ('require' > > > > failed) > > > > [3496] dbg: diag: module not installed: Mail::DKIM ('require' failed) > > > > [3496] dbg: diag: module not installed: DBI ('require' failed) > > > > [3496] dbg: diag: module installed: Getopt::Long, version 2.35 > > > > [3496] dbg: diag: module installed: LWP::UserAgent, version 2.033 > > > > [3496] dbg: diag: module installed: HTTP::Date, version 1.47 > > > > [3496] dbg: diag: module installed: Archive::Tar, version 1.30 > > > > [3496] dbg: diag: module installed: IO::Zlib, version 1.04 > > > > [3496] dbg: diag: module not installed: Encode::Detect ('require' > > > > failed) > > > > [3496] dbg: gpg: Searching for 'gpg' > > > > [3496] dbg: util: current PATH is: > > > > /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/bin:/root/bin > > > > [3496] dbg: util: executable for gpg was found at /usr/bin/gpg > > > > [3496] dbg: gpg: found /usr/bin/gpg > > > > [3496] dbg: gpg: release trusted key id list: > > > > 5E541DC959CB8BAC7C78DFDC4056A61A5244EC45 > > > > 26C900A46DD40CD5AD24F6D7DEE01987265FA05B > > > > 0C2B1D7175B852C64B3CDC716C55397824F434CE > > > > [3496] dbg: channel: attempting channel updates.spamassassin.org > > > > [3496] dbg: channel: update directory > > > > /var/lib/spamassassin/3.002003/updates_spamassassin_org > > > > [3496] dbg: channel: channel cf file > > > > /var/lib/spamassassin/3.002003/updates_spamassassin_org.cf > > > > [3496] dbg: channel: channel pre file > > > > /var/lib/spamassassin/3.002003/updates_spamassassin_org.pre > > > > [3496] dbg: dns: query failed: 3.2.3.updates.spamassassin.org => no > > > > nameservers > > > > [3496] dbg: channel: no updates available, skipping channel > > > > [3496] dbg: diag: updates complete, exiting with code 1 > > > > ---8<--- > > > > > > > > Any ideas? > > > > Chris > > > > -- > > Randomly Selected Tagline: > > "So something ripped him open and ate all his insides out? > > Yeah, it's just like an oreo cookie. [puzzled looks] > > Without it's chocolatey goodness." - from Buffy, the Vampire Slayer