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 18:52:42 +0100	[thread overview]
Message-ID: <87prjgjg5x.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <uskoc48sy.fsf@dod.no> (Steinar Bang's message of "Thu, 25 Dec 2008 15:40:45 +0100")

On Thu, Dec 25 2008, Steinar Bang wrote:

>>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:
>
>> I don't think Windows has /etc/resolv.conf,
>
> That's putting the finger on the problem.  Thanx!
>
>> so I think it is supposed to work.

Oops, s/is/isn't/ of course.

>> I'm not sure how to get the address of the DNS server on Windows;
>> probably `nslookup www.gnus.org' will show it.
>
> Indeed it does.  `M-! nslookup www.gnus.org' right now gives me the output:
>
> Non-authoritative answer:^M
> Server:  home.lan
[...]
> I guess a fallback to dns-parse-resolv-conf would be to run nslookup and
> parse the output...?  Of course, then the function should be renamed to
> reflect what it's doing.
> E.g. dns-parse-resolv-conf-or-parse-nslookup-output or something...?

Please try the current code:

	* dns.el (dns-set-servers): Renamed from dns-parse-resolv-conf.  Call
	nslookup if resolv.conf isn't available.
	(dns-query): Rename from query-dns.
	(dns-query-cached): Rename from query-dns-cached.

Does spam-gmane.el use the functions `query-dns' or
`query-dns-cached'?  Then they must be renamed there.

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



  reply	other threads:[~2008-12-25 17:52 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
2008-12-25 14:40   ` Steinar Bang
2008-12-25 17:52     ` Reiner Steib [this message]
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=87prjgjg5x.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).