From owner-freebsd-stable Thu Sep 24 18:51:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA02580 for freebsd-stable-outgoing; Thu, 24 Sep 1998 18:51:47 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from granite.sentex.net (granite.sentex.ca [199.212.134.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA02572 for ; Thu, 24 Sep 1998 18:51:42 -0700 (PDT) (envelope-from mike@sentex.net) Received: from ospf-mdt.sentex.net (ospf-mdt.sentex.net [205.211.164.81]) by granite.sentex.net (8.8.6/8.6.9) with SMTP id VAA08681 for ; Thu, 24 Sep 1998 21:50:44 -0400 (EDT) From: mike@sentex.net (Mike Tancsa) To: stable@FreeBSD.ORG Subject: Re: resolving ips? Date: Fri, 25 Sep 1998 01:55:31 GMT Message-ID: <360af6b3.248371779@mail.sentex.net> References: In-Reply-To: X-Mailer: Forte Agent .99e/32.227 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 24 Sep 1998 13:52:54 -0500 (CDT), in sentex.lists.freebsd.misc you wrote: > >> >> >> >Why consult the resolver? Why not just make your connection based on the >> >kernel routing tables? >> >> I am not sure what you mean by the routing table in this case.. What you >> are describing is a DNS timeout...If you want it to work faster in this >> situation, then change /etc/host.conf to list hosts first, then bind and >> add the necessary information in your /etc/hosts file. >> > >To clarify the routing table issue, I'll explain what I meant by that. >If I type "telnet 10.1.1.1", I would not expect telnet to consult a DNS >server to do a reverse lookup on that IP. I would expect it to consult >the routing table, decide that 10.1.1.1 was either on a local subnet, >through a remote gateway, or through the default route, and route my TCP >SYN packet accordingly. I am not sure why an application like telnet would want to concern itself with routing.. From what I understand, its the job of the OS / IP Stack to decide how to route the request. When you open a TCP socket, you dont have to specify any sort of routing. Yes, I agree that having the program do any DNS when fed an IP address is rather strange, but I guess the author thought the presentation was more important or something... ---Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message