Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: "No DNS server configuration found" when approving spam reports
Date: Thu, 25 Dec 2008 15:40:45 +0100	[thread overview]
Message-ID: <uskoc48sy.fsf@dod.no> (raw)
In-Reply-To: <8763l8l7y5.fsf@marauder.physik.uni-ulm.de>

>>>>> 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.

Hm, well... that's why it doesn't work.  There is no fallback when
/etc/resolv.conf can't be found.

[snip!]
> Set `dns-servers'?

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

Right... but this isn't practical to do on a nomad laptop, where the DNS
server usually comes with the DHCP lease.

> 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
Address:  10.0.0.138

Name:    www.gnus.org
Address:  66.135.33.159

(sanitized CR character in the above outout)

The DNS server is that of the ADSL router of the home LAN I'm connected
to. 

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...?




  reply	other threads:[~2008-12-25 14:40 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 [this message]
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=uskoc48sy.fsf@dod.no \
    --to=sb@dod.no \
    --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).