Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: "No DNS server configuration found" when approving spam reports
Date: Thu, 25 Dec 2008 14:07:14 +0100	[thread overview]
Message-ID: <8763l8l7y5.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <u4p0t5n8a.fsf@dod.no> (Steinar Bang's message of "Wed, 24 Dec 2008 21:31:33 +0100")

On Wed, Dec 24 2008, Steinar Bang wrote:

> When I'm running Lars' ~/gmadmin/spam-gmane.el to approve and reject
> spam reports in www.gmane.org I see the message "No DNS server
> configuration found" where I'm supposed to see the reverse lookup of the
> reporting machine's IP address.
>
> The spam-gmane.el uses a dns.el that comes from gnus, and the method
> that contains the message I see is the method query-dns.
>
> Does anyone know why the query-dns function in Gnus doesn't work as
> expected for me?  Is it expected to work at all on Windows machines?  Is
> it expected to work at all on Vista machines?

I don't think Windows has /etc/resolv.conf, so I think it is supposed
to work.  On GNU/Linux, I get:

,----[ M-x ielm RET ]
| ELISP> (require 'dns)
| dns
| ELISP> (let (dns-servers)
| 	 (dns-parse-resolv-conf))
| ("..." "192.168.0.1")
| 
| ELISP> (query-dns "www.gnus.org")
| "66.135.33.159"
`----

> Is there some configuration trick I can do to get a DNS server?

Set `dns-servers'?

  (setq dns-servers '("192.168.0.1"))

I'm not sure how to get the address of the DNS server on Windows;
probably `nslookup www.gnus.org' will show it.

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



  reply	other threads:[~2008-12-25 13:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-24 20:31 Steinar Bang
2008-12-25 13:07 ` Reiner Steib [this message]
2008-12-25 14:40   ` Steinar Bang
2008-12-25 17:52     ` Reiner Steib
2008-12-26  9:18       ` Steinar Bang
2008-12-26 10:45         ` Steinar Bang
2008-12-26 11:10           ` Steinar Bang
2008-12-26 17:38           ` Reiner Steib
2008-12-27 13:30             ` Steinar Bang
2008-12-27 13:55               ` Steinar Bang
2008-12-28 11:20                 ` Steinar Bang
2008-12-28 14:03                   ` Steinar Bang
2009-01-18 14:29                     ` Lars Magne Ingebrigtsen
2009-01-18 18:48                       ` Steinar Bang
2009-02-08 22:37                     ` Lars Magne Ingebrigtsen
2009-02-09 22:44                       ` Steinar Bang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763l8l7y5.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).