From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/44105 Path: main.gmane.org!not-for-mail From: Russ Allbery Newsgroups: gmane.emacs.gnus.general Subject: Re: Spam spam spam spam spam Date: Sun, 31 Mar 2002 10:11:40 -0800 Organization: The Eyrie Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017598381 28861 127.0.0.1 (31 Mar 2002 18:13:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 31 Mar 2002 18:13:01 +0000 (UTC) Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16rjp7-0007VH-00 for ; Sun, 31 Mar 2002 20:13:01 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16rjoB-0005Vc-00; Sun, 31 Mar 2002 12:12:03 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 31 Mar 2002 12:12:09 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA24293 for ; Sun, 31 Mar 2002 12:11:59 -0600 (CST) Original-Received: (qmail 23937 invoked by alias); 31 Mar 2002 18:11:47 -0000 Original-Received: (qmail 23932 invoked from network); 31 Mar 2002 18:11:46 -0000 Original-Received: from windlord.stanford.edu (171.64.13.23) by gnus.org with SMTP; 31 Mar 2002 18:11:46 -0000 Original-Received: (qmail 18110 invoked by uid 50); 31 Mar 2002 18:11:40 -0000 Original-To: ding@gnus.org In-Reply-To: (Lars Magne Ingebrigtsen's message of "Sun, 31 Mar 2002 17:50:35 +0200") Original-Lines: 18 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:44105 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:44105 Lars Magne Ingebrigtsen writes: > Anyway, I just realized that totally relying on > `make-network-process' isn't necessary at all -- DNS can be done > perfectly well via TCP as well. So I've now made `dns-query' use > `open-network-stream' if `make-network-process' doesn't exist. Just be warned that this won't work with some DNS servers, since the DNS protocol requires that you try UDP first and only fall back to TCP if the server returns a truncated response. Some DNS servers that already know that their entire response database fits into UDP packets will therefore choose not to listen or respond to TCP connections at all (since DNS over TCP is a widely used attack target for bugs in BIND). Might be worth a note in the manual about that. -- Russ Allbery (rra@stanford.edu)