From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67982 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: "No DNS server configuration found" when approving spam reports Date: Thu, 25 Dec 2008 14:07:14 +0100 Message-ID: <8763l8l7y5.fsf@marauder.physik.uni-ulm.de> References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1230210517 30993 80.91.229.12 (25 Dec 2008 13:08:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2008 13:08:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16428@lists.math.uh.edu Thu Dec 25 14:09:43 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LFpyA-0005jQ-Lq for ding-account@gmane.org; Thu, 25 Dec 2008 14:09:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LFpvy-0002nk-Nl; Thu, 25 Dec 2008 07:07:26 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LFpvv-0002nL-7q for ding@lists.math.uh.edu; Thu, 25 Dec 2008 07:07:23 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LFpvs-0003wI-7c for ding@lists.math.uh.edu; Thu, 25 Dec 2008 07:07:23 -0600 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LFpw5-0001uF-00 for ; Thu, 25 Dec 2008 14:07:33 +0100 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.10.175]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id mBPD7Hbp015951 for ; Thu, 25 Dec 2008 14:07:18 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id A1BC013542 for ; Thu, 25 Dec 2008 14:07:17 +0100 (CET) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Steinar Bang's message of "Wed, 24 Dec 2008 21:31:33 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.1 (gnu/linux) X-DCC-CTc-dcc2-Metrics: poseidon 1031; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67982 Archived-At: 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/