in reply to Getting hostname, domainname and subdomainname

If anyone has any idea how to extract the subdomain &c. from a non-international TLD, I'd sure like to know it. Near as I can tell, puzzling out something as "simple" as
very.fractured.vancouver.bc.ca
is impossible to puzzle out without a database of all TLD's and all of their provincial & municipal subdomains. --TQuid

Replies are listed 'Best First'.
RE: RE: Getting hostname, domainname and subdomainname
by lhoward (Vicar) on Jun 27, 2000 at 07:20 UTC
    Every zone is free to divide itself up any way it sees fit. Different TLD's use different strategies. Some are broken down geographically (Canada does it this way); some are broken down by type (the UK uses this method: commercial, educational, etc.); some are not broken down by any regular scheme (Japan). Aditionally, the domain being subdomained may (or may not) place any arbitrary order on the subdivision. These restrictions are purely arbitrary and have no relation to the DNS process.