[about
http://exmaple.com/ vs
http://www.example.com/]
[Doc Shipley <doc(a)mdrconsult.com>]
First, as referenced by
"http://www.mydomain.tld", "www.mydomain.tld"
is NOT a subdomain, it's the FQDN (Fully Qualified Domain Name) of an
individual host.
What's the difference?
That's a serious question. What is your definition of a subdomain, as
distinct from an "FQDN of an individual host"?
Second, resolving a domain name as a host breaks RFC
definitions and
recommendations.
Which ones?
[Jochen Kunz <jkunz(a)unixag-kl.fh-kl.de>]
[L]earn the difference between a (Full Qualified) Host
Name and a
Domain Name.
What _is_ the difference? As far as I can tell, a host name is just a
domain name that happens to correspond to a host in some sense (usually
by way of an address).
IP numbers refer to hosts (FQDN) and vice versa.
...huh? Some IP addresses refer to nothing at all. Some IP addresses
refer to individual hosts. Some IP addresses refer to multiple hosts
(think a large load-balanced server farm). And that's not even
considering IP addresses that have different meaning to different
places (any RFC-1918 address, or anything in 127/8).
Some hosts have no addresses (though we can probably ignore them for
our purposes). Some hosts have exactly one. Some have more than one.
Also, equating hosts to FQDNs, as your parenthetical comment does, is
incorrect, unless you are trying to redefine one or both of the terms.
Some FQDNs do not refer to anything; some refer to exactly one machine;
some refer to multiple machines - and some machines have no FQDN, some
have exactly one, and some have more than one.
Similar remarks are true of the mapping between FQDNs and IP addresses.
Hosts are the leaves in the hierarchical DNS name
space tree, where
domains are branches in the name space. Services run on hosts so
myserver.mydomain.tld is the correct way.
Whatever gives you the idea that hosts have to be leaves of the DNS
tree, that only leaves may have addresses, or be used as machine names?
I can't recall ever seeing any such requirement, nor even
recommendation, nor can I see any basis for one.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse(a)rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B