Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 1998 11:10:16 -0700 (MST)
From:      "Chad R. Larson" <chad@freebie.dcfinc.com>
To:        doconnor@gsoft.com.au (Daniel O'Connor)
Cc:        fee@tetrahome.tetranet.net, stable@FreeBSD.ORG, mike@sentex.net
Subject:   Re: resolving ips?
Message-ID:  <199809251810.LAA04947@freebie.dcfinc.com>
In-Reply-To: <XFMail.980925113946.doconnor@gsoft.com.au> from Daniel O'Connor at "Sep 25, 98 11:39:46 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >  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.

The telnet client is doing the DNS lookup (actually, a call to
gethostbyname() ) in order to be able to display the remote host's name
when you do the "status" command.  It probably uses the hostname in
other places as well...

	-crl
--
Chad R. Larson (CRL15)   602-953-1392   Brother, can you paradigm?
chad@dcfinc.com chad@larsons.org chad@anasazi.com larson1@home.net   
DCF, Inc. - 14623 North 49th Place, Scottsdale, Arizona 85254-2207

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809251810.LAA04947>