Let's just look at the host part, since subdomain can have unlimited levels, and there can be a different level of domains, for example:
foo.foo2.host.bar.bar2
This is a completely valid host, but while the below are also valid:
foo.foo2.foo3.host.bar.bar2
foo.foo2.host.bar.bar2.bar3
Basically, we can't really use the 'dot' to tell the difference between subdomains and domains
So without a network to actually look up the domain info from the web, is it impossible to properly parse a URI?
How does a web browser handle this situation?