tobold.org

correct • elegant • free

△ comp.protocols.tcp-ip.domains △

◅ DNS server statistics

Multiple names for one Class C Net ▻

Canonical list of domains -> first IP bytes?

In article <boutellCpzBEE.498@netcom.com>, Thomas Boutell
<boutell@netcom.com> wrote:
>I had thought top level domains each had unique first IP bytes.

No.  The relationship between domain names and IP addresses is entirely
arbitrary.

(You may be thinking of the scheme where blocks of IP addresses have
been delegated from the InterNIC to regional registries.  For example,
the European registry, the RIPE NCC, has all the Class C addresses
starting with 193 and 194, and can delegate these on to Internet service
providers in Europe.  One reason for doing this is to reduce routing
table size; for example, two-thirds of PIPEX customers are covered by
the single route 193.128/14 (or 193.128.0.0 255.252.0.0 in another
notation).  This still has nothing to do with domain names; some of
those addresses map back to names under .uk, some are .com, etc.)

>(I'm working on a program which has to gather statistics
>regarding the distribution of connecting sites, which may or
>may not be found by name by the nameserver; in cases where
>they are not known, I have the IP and would like to figure
>out the top level domain from this if that much is possible.)

Not possible, I'm afraid.

Depending how much work you want to do, you could use the Internet
Registries' whois databases to fill in where the DNS doesn't provide the
information you need; the RIPE NCC database (whois.ripe.net) provides
a `country' field for each network address.

Tim.
--
Tim Goodwin        | "Consider Microsoft defining the network that connects
Public IP Exchange | all our TV's, telephones, and computers." -- Rob Pike

Original headers:

From: tim@pipex.net (Tim Goodwin)
Newsgroups: comp.protocols.tcp-ip.domains
Subject: Re: Canonical list of domains -> first IP bytes?
Date: 18 May 1994 14:30:40 +0100
Organization: PIPEX, 216 Science Park, Cambridge CB4 4WA, England
Message-ID: <2rd5a0$af2@tank.pipex.net>
References: <boutellCpzBEE.498@netcom.com>

△ comp.protocols.tcp-ip.domains △

◅ DNS server statistics

Multiple names for one Class C Net ▻