Re: DNS for IP address lookup

This is a discussion on Re: DNS for IP address lookup within the Bind Users forums, part of the DNS and Related Forums category; In article <crvl3q$2o6j$1@sf1.isc.org>, Danny Mayer <mayer@gis.net> wrote: > At ...


Go Back   Usenet Forums > DNS and Related Forums > Bind Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2005
Barry Margolin
 
Posts: n/a
Default Re: DNS for IP address lookup

In article <crvl3q$2o6j$1@sf1.isc.org>, Danny Mayer <mayer@gis.net>
wrote:

> At 04:14 PM 1/10/2005, John Smith wrote:
> >since nobody else responded, i will.
> >if you type in an IP address anywhere for network connectivity, eg web
> >browser, command prompt, even a news reader, no DNS (or WINS
> >depending on situation) lookups are needed or performed - unless you have
> >some sort of logging or some other feature that requires reverse lookups
> >(ip address to name lookup).

>
> If only that were true. There's plenty of badly written software out there
> that will attempt to do lookups even though there's no need.
> Just ask the root operators about the traffic that they see.


How is it supposed to know there's no need? For all it knows, when you
type 1.2.3.4 you actually meant a host in the .4 top-level domain. A
reasonable algorithm is to first try the given string as a hostname; if
that fails, and it looks like a dotted quad, parse it as an IP address.

Yes, it's true that there's no such TLD. And there's also a rule that
says that labels can't be all-numeric. But rules like that are subject
to change, so it can be a bad idea to hard-code them into applications
(once upon a time the rule was that the first letter of a label had to
be a letter -- the rule was relaxed when 3Com got onto the Internet and
was allowed to register 3COM.COM). The algorithm I describe will
automatically adapt to current conventions.

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0