Domain Name System
|The TCP/IP model (RFC 1122)|
The Domain Name System (DNS) is a system used to convert a computer's host name into an IP address on the Internet. For example, if a computer needs to communicate with the web server example.net, your computer needs the IP address of the web server example.net. It is the job of the DNS to convert the host name to the IP address of the web server. DNS is defined in RFC 1034 and RFC 1035 and use the UDP Port 53 or TCP Port 53.
Structure[change | change source]
Domain names are made up of one or more parts, or labels that are joined and kept separate by dots, such as
- The order goes down from right to left.
- The label on the right is the top-level domain or TLD. For example, the top-level domain of
- The next one along is the subsection (or subdomain as is the proper word) of the TLD. In
- The furthest to the left is the
wwwwhich is a subdomain of
wwwmeans the site is part of the World Wide Web (NOT the same as the Internet )
- Each label can have 63 letters/numbers (characters) and a domain name cannot have more than 253 characters.
- The only characters allowed in a domain name are:
- a–z (lower-case)
- 1–9 & 0 and
- Hyphens ( - )