What is the difference between:
domainname
and
domainname.
?
For instance, let's suppose msn.com
and msn.com.
. I tried both here:
http://http-headers.online-domain-tools.com/link/d83cbgIenbU0KGj3/
http://http-headers.online-domain-tools.com/link/d83d3g2kZ1ioLns4/
From the example above we can see that both domain names are valid. However, they are obviously not the same because the responses are different.
I believe that RFC 1035 (p. 7) defines domain names. Yet, the grammar does not allow dot at the end of a domain name.
Adding the dot to the end of the domain name makes it an absolute fully-qualified domain name instead of just a regular fully-qualified domain name, and most browsers treat absolute domain names as being a different domain from the equivalent regular domain name (I'm not sure why they do this though).
dot domains names from open registrations that are considered premium domains, which are names that are highly desired or unique. These .
What characters can a domain name contain? A domain name can only contain the letters A-Z, the digits 0-9 and hyphen (-), in addition to one punctuation (.) used for grouping the domains in hierarchies, e.g. under . no or .com.
Each element of the hostname must be from 1 to 63 characters long and the entire hostname, including the dots, can be at most 253 characters long. Valid characters for hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and the hyphen (-). A hostname may not start with a hyphen.
domainname.
Is the fully qualified domain name
Domain names ending in a dot are absolute where as the ones not ending in a dot are relative.
There's a catch though... The stub resolver default behaviour is to consider a request for any domain with at least one dot in it as being a request for an absolute domain.
So what actually happens is:
msn.com
in your browser your stub resolver will send a dns query for msn.com.
and then your browser will send a HTTP request to one of the IPs provided by the dns responsemsn
the domain is considered relative to your resolver's search list (see the search directive in your /etc/resolv.conf). If the search list is search foo.com bar.com
your stub resolver will send a dns query for msn.foo.com.
If that fails it will then send a dns query for msn.bar.com.
If one of the previous dns queries succeeded your browser will send a HTTP request to one of the IPs provided by the dns response.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With