Domains and DNS
How to check if a domain name is available
Run a check on domain name availability with a Whois or RDAP lookup, then read the status codes that show when a deleted domain can be registered again.
· Mateo Cardenas
A domain name is a website's address on the Internet.1, source 1 Domain names provide a human-readable address for any web server available on the Internet.2, source 2 A domain name consists of a hierarchical sequence of names, called labels, separated by periods and ending with an extension.1, source 1
Domain names are used in URLs to identify which server a specific webpage belongs to.1, source 1 An example of a domain name is developer.mozilla.org.1, source 1 The Domain Name System (DNS) provides an addressing system so people can find particular websites, and it is the basis for email and many other online uses.3, source 3 The terms "domain" and "domain name" are used in many contexts beyond the DNS.4, source 4
Any Internet-connected computer can be reached through a public IP address, which is either an IPv4 address or an IPv6 address.2, source 2 An IP address is a number used to address each device on an IP network uniquely.5, source 5 Computers handle IP addresses easily, but people have a hard time finding out who is running a server or what service a website offers.2, source 2
IP addresses are hard to remember and might change over time.2, source 2 Human-readable addresses called domain names solve those problems.2, source 2 The DNS uses letters rather than numbers, and links a precise series of letters with a precise series of numbers.3, source 3 ICANN's website, for example, can be found at "icann.org" rather than at a series of numbers.3, source 3
A domain name does not have to be tied to one particular computer, because the link between a domain and an IP address can be changed quickly and easily.3, source 3
A domain name is made of one or more parts, separated by dots and read from right to left.2, source 2 By convention, the labels of a domain name are printed left to right, from the most specific to the least specific, which is the one closest to the root.4, source 4 The domain name of a node is the list of the labels on the path from the node to the root of the tree.4, source 4 A label is a case-insensitive character sequence from one to sixty-three characters long.2, source 2
Apart from the top-level domain, each label contains only the letters A through Z, the digits 0 through 9, and the hyphen, and the hyphen may not be the first or last character in the label.2, source 2 RFC 1123 relaxed the restriction on the first character of a host name to allow either a letter or a digit.6, source 6 The labels a, 97 and hello-strange-person-16-how-are-you are all examples of valid labels.2, source 2
The label right before the top-level domain (TLD) is also called a Secondary Level Domain (SLD).2, source 2 A domain name does not need to have three labels: informatics.ed.ac.uk is a valid domain name.2, source 2 The total number of octets that represent a domain name, which is the sum of all label octets and label lengths, is limited to 255.4, source 4 TLDs can contain special as well as Latin characters.2, source 2
A TLD's maximum length is 63 characters.2, source 2 The Internationalized Domain Names for Applications (IDNA) protocol is the standard mechanism for handling domain names with non-ASCII characters in applications in the DNS.7, source 7 Strictly speaking, a fully qualified domain name includes the zero-length label of the root and is written with a terminating dot, such as "www.example.net.".7, source 7 Because every name shares the same root, names are often written without the terminating dot, such as "www.example.net", and are still called "fully qualified".7, source 7
A top-level domain (TLD) is the most generic domain in the Internet's hierarchical domain name system.8, source 8 A top-level domain is a zone that is one layer below the root, such as "com" or "jp".7, source 7 A TLD is the final component of a domain name.8, source 8 In https://developer.mozilla.org, org is the TLD, mozilla.org is the second-level domain name, and developer is a subdomain name.8, source 8
Together these parts make a fully qualified domain name, and adding https:// in front makes it a complete URL.8, source 8 For any domain you control, you can create subdomains with different content at each, like developer.mozilla.org, support.mozilla.org or bugzilla.mozilla.org for mozilla.org.2, source 2 In the host name "nnn.mmm.example.com", both "mmm.example.com" and "nnn.mmm.example.com" are subdomains of "example.com".7, source 7 Subdomain comparisons are done on whole labels, so "ooo.example.com" is not a subdomain of "oo.example.com".7, source 7
ICANN designates organizations to manage each TLD.8, source 8 TLDs are often divided into sub-groups such as country code TLDs (ccTLDs) and generic TLDs (gTLDs), and the division is a matter of policy.7, source 7 Depending on how strict the administrating organization is, a TLD often serves as a clue to the purpose, ownership or nationality of a website.8, source 8
Generic top-level domains (gTLDs) are top-level domains with three or more characters.8, source 8 Unsponsored top-level domains operate directly under policies established by ICANN processes for the global Internet community, such as "com".8, source 8 Sponsored top-level domains (sTLDs) are proposed and sponsored by private organizations that decide whether an applicant is eligible to use the TLD, based on community theme concepts.8, source 8
Country-code top-level domains (ccTLDs) are two-character domains established for countries or territories, such as .us for the United States.8, source 8 Other ccTLDs include .de for Germany and .uk for the United Kingdom.3, source 3 Internationalized country code top-level domains are ccTLDs in non-Latin character sets, such as Arabic or Chinese.8, source 8
The most generic TLDs (.com, .org, .net) do not require web services to meet any particular criteria, but some TLDs enforce stricter policies.2, source 2 Local TLDs such as .us, .fr or .se can require the service to be provided in a given language or hosted in a certain country.2, source 2 TLDs containing .gov are only allowed to be used by government departments.2, source 2 The .edu TLD is only for use by educational and academic institutions.2, source 2
When you type a domain name in your browser, your browser first asks your computer whether it already recognizes the IP address for that name, using a local DNS cache.2, source 2 If your computer does not know the IP address behind a name, it asks a DNS server, whose job is to tell your computer which IP address matches each registered domain name.2, source 2 Once the computer knows the requested IP address, your browser can negotiate contents with the web server.2, source 2
Name servers are server programs that hold information about the domain tree's structure and set information.4, source 4 Resolvers are programs that extract information from name servers in response to client requests.4, source 4
DNS databases are stored on every DNS server worldwide, and all these servers refer to a few special servers called "authoritative name servers".2, source 2 Each DNS server that knows about a domain stores the information for some time before it is automatically invalidated and then refreshed.2, source 2 Because of that caching, it takes some time for DNS servers that know about a domain name to get up-to-date information.2, source 2 ICANN says a change to the link between a domain and an IP address is recognized by the entire Internet within 48 hours.3, source 3
Root servers all store a copy of the same file, which acts as the main index to the Internet's address books.3, source 3 The root file lists an address for each top-level domain where that registry's own address book can be found.3, source 3 Root servers are consulted fairly infrequently, considering the size of the Internet, because computers on the network retain the address of a top-level domain and check back only occasionally to make sure it has not changed.3, source 3
The set of resource information associated with a name is made up of separate resource records (RRs).4, source 4 In RFC 1034, the MX type identifies a mail exchange for the domain.4, source 4
A URL (Uniform Resource Locator) is the address of a unique resource on the Internet.9, source 9 In a URL, the domain indicates which web server is being requested, and it is usually a domain name, though an IP address may also be used.9, source 9 For websites, a URL's scheme is usually HTTPS or its unsecured version, HTTP.9, source 9
When it is present, the authority part of a URL includes both the domain and the port, separated by a colon.9, source 9 The port is usually omitted if the web server uses the standard ports of the HTTP protocol, which are 80 for HTTP and 443 for HTTPS.9, source 9 A URL's path, such as /path/to/myfile.html, is the path to the resource on the web server.9, source 9
You can think of a URL as a postal address, where the scheme is the postal service, the domain name is the city or town, and the port is like the zip code.9, source 9
ICANN coordinates the Internet's unique identifiers across the world.3, source 3 ICANN does not control content on the Internet.3, source 3 The DNS root zone is the highest level of the naming hierarchy, principally composed of delegations of top-level domains such as .edu or .in.10, source 10 In managing the DNS root zone, IANA's responsibilities include assigning managers for top-level domains, recording technical delegation data in the root zone, and publishing a registry of related information.10, source 10
The Top-Level Domain Registry, also known as the Root Zone Database, is the authoritative record of top-level domains, including the organization that manages each one.10, source 10 ICANN carries out the "IANA function", in which every ccTLD's main address is listed so the rest of the Internet can find it.3, source 3 A registry is the administrative operation of a zone that allows registration of names within that zone.7, source 7 One company, called a registry, is in charge of all domains ending with a particular TLD.3, source 3
A registrant is an individual or organization on whose behalf a name in a zone is registered by the registry.7, source 7 A registrar is a service provider that acts as a go-between for registrants and registries.7, source 7 Not all registrations require a registrar, though it is common to have registrars involved in registrations in TLDs.7, source 7 In many zones the registry and the registrant may be the same entity, but in TLDs they often are not.7, source 7
The domain name that you register is then used to provide online systems such as websites and email.3, source 3 Domain names under generic TLDs may be registered with ICANN-accredited registrars or their resellers.11, source 11 Resellers are not accredited by ICANN, and the registrars remain responsible and accountable for all domain names sold by their resellers.11, source 11 ICANN draws up contracts with each registry and runs an accreditation system for registrars.3, source 3
Country code TLDs are an important exception: some have a contract with ICANN, others have signed working agreements with ICANN, and some have yet to enter any formal agreement with ICANN.3, source 3 Domain name registrations under country-code TLDs can be made through the ccTLD operators.11, source 11
You cannot "buy a domain name".2, source 2 This is so that unused domain names eventually become available to be used again by someone else.2, source 2 You pay for the right to use a domain name for one or more years.2, source 2 You can renew your right to a domain name, and your renewal has priority over other people's applications, but you never own the domain name.2, source 2
Companies called registrars use domain name registries to keep track of technical and administrative information connecting you to your domain name.2, source 2 For some domain names it might not be a registrar in charge of keeping track; for instance, every domain name under .fire is managed by Amazon.2, source 2 Most registrars provide a "whois" service that tells you whether a domain name is available.2, source 2 When filling out a registrar's form, make sure you have not misspelled the domain name you want, because once it is paid for it is too late.2, source 2
A registrar asks for your real-world address, and in some countries registrars may be forced to close a domain if they cannot provide a valid address.2, source 2 When you register through an ICANN-accredited registrar, your registration must be subject to a Registration Agreement with that registrar.12, source 12 You are entitled to review the Registration Agreement at any time and download a copy for your records.12, source 12 You are entitled to instructions that explain your registrar's processes for registering, managing, transferring, renewing and restoring your domain name registrations.12, source 12
As a registrant with an ICANN-accredited registrar, you assume sole responsibility for the registration and use of your domain name.12, source 12 You must provide accurate information for publication in directories such as WHOIS, and promptly update it to reflect any changes.12, source 12 You must respond to inquiries from your registrar within fifteen (15) days and keep your registrar account data current.12, source 12 If you choose to have a domain name registration renew automatically, you must also keep your payment information current.12, source 12
You must also comply with the terms and conditions posted by your registrar, including applicable policies from your registrar, the registry and ICANN.12, source 12
A domain name is a website's address on the Internet. It provides a human-readable address for any web server available on the Internet, allowing people to use letters instead of IP address numbers.
An example is developer.mozilla.org. In this name, org is the top-level domain, mozilla.org is the second-level domain name, and developer is a subdomain name.
No, a domain name is not a URL. The domain name is only one part of a URL, which also has a scheme such as HTTPS and can include a port and a path.
No, you never own a domain name. You pay for the right to use it for one or more years, and you can renew your right.
Your computer finds the IP address that matches the name. It checks a local DNS cache first and asks a DNS server when the address is not there. Once it knows the address, your browser can negotiate contents with the web server.
A registered domain is a name registered by a registry. The registrant is the individual or organization on whose behalf it is registered, and in TLDs a registrar commonly acts as the go-between.
Every fact on this page comes from one of these, checked before it goes live.
Domains and DNS
Run a check on domain name availability with a Whois or RDAP lookup, then read the status codes that show when a deleted domain can be registered again.
· Mateo Cardenas
Domains and DNS
Pick a domain name whose labels meet the character and length rules, then check its top-level domain and whether it could infringe someone else's rights.
· Mateo Cardenas
Domains and DNS
Learn how to do a DNS lookup with nslookup, Resolve-DnsName, dig and host. Understand DNS record types, view your settings and read the query results.
· Mateo Cardenas
Domains and DNS
Learn how to register a domain name: choose a registrar, give accurate contact details, and understand renewal, free domain and transfer rules.
· Mateo Cardenas