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
DNS (Domain Name System) is a hierarchical and decentralized naming system for Internet-connected resources.1, source 1 DNS maintains a list of domain names along with the resources, such as IP addresses, that are associated with them.1, source 1 The most prominent function of DNS is translating human-friendly domain names into numeric IP addresses, a process known as a DNS lookup.1, source 1
IP addresses are hard to remember and might change over time, which is why human-readable domain names are used.2, source 2 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 The DNS uses letters rather than numbers, and links a precise series of letters with a precise series of numbers.3, source 3 Beyond websites, DNS is also the basis for email and many other online uses.3, source 3
The DNS database is large and updated often, so it must be maintained in a distributed manner, with local caching to improve performance.4, source 4 A reverse DNS lookup (rDNS) is used to determine the domain name associated with an IP address.1, source 1
A domain name is made of one or more parts separated by dots and read from right to left.2, source 2 It consists of a hierarchical sequence of names called labels and ends with an extension.5, source 5 The DNS domain name space is a tree structure.4, source 4 The domain name of a node is the list of labels on the path from the node to the root of the tree.4, source 4
In the global DNS, the length of each label is between 0 and 63 octets inclusive.6, source 6 A domain name in the global DNS has a maximum total length of 255 octets in the wire format.6, source 6 For compatibility with hostnames and TLS certificates, it is recommended that DNS labels use only letters, digits and hyphens, but this is not a DNS protocol requirement.7, source 7
A domain is a subdomain of another domain if it is contained within that domain, which can be tested by checking whether its name ends with the containing domain's name.4, source 4 For any domain you control, you can create subdomains with different content located at each.2, source 2
The DNS root zone is the highest level of the naming hierarchy, principally composed of delegations of top-level domains.8, source 8 A top-level domain is a zone one layer below the root, such as "com" or "jp".6, source 6 IANA's responsibilities in managing the root zone include assigning managers for top-level domains, recording technical delegation data in the root zone, and publishing a registry of related information.8, source 8 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.8, source 8
One company, called a registry, is in charge of all domains ending with a particular top-level domain.3, source 3 A registrar is a service provider that acts as a go-between for registrants and registries.6, source 6 ICANN draws up contracts with each registry and runs an accreditation system for registrars.3, source 3 You cannot buy a domain name: you pay for the right to use it for one or more years.2, source 2
The authoritative name servers that serve the DNS root zone are configured in the root zone as 13 named authorities, and IANA says they are a network of hundreds of servers in many countries.9, source 9 The root servers all store a copy of the same file, which lists an address for each top-level domain where that registry's own address book can be found.3, source 3
A standard DNS query specifies a target domain name (QNAME), a query type (QTYPE) and a query class (QCLASS) and asks for records that match.4, source 4 A stub resolver cannot perform all resolution itself and generally depends on a recursive resolver to undertake the actual resolution.6, source 6 A recursive server answers queries from a local cache or sends queries to other servers to get the final answers to the original queries.6, source 6
To operate in recursive mode, a resolver needs to know the address of at least one root server.6, source 6
To find the best servers to ask, a resolver looks for locally available name server records, starting at the queried name, then its parent domain, then the grandparent, and so on toward the root.4, source 4 A name server's response either contains the answer to the question or a referral to other name servers closer to the desired information.4, source 4 A referral is a response in which a server, signaling that it is not authoritative (or not completely authoritative) for an answer, provides the resolver with an alternative place to send its query.6, source 6
In iterative resolution, the client repeatedly makes non-recursive queries and follows referrals and aliases.6, source 6 When a response contains a better delegation to other servers, the resolver caches the delegation information and goes back to step 2, finding the best servers to ask.4, source 4
A very important goal of the resolver is to eliminate network delay and name server load from most requests by answering them from its cache of prior results.4, source 4 The time to live (TTL) of a record describes how long it can be cached before it should be discarded.4, source 4 A longer TTL means that updates to your records take longer to go into effect.10, source 10
Short TTLs can be used to minimize caching, and a zero TTL prohibits caching.4, source 4 When a change can be anticipated, the TTL can be reduced before the change to minimize inconsistency, then increased back to its former value afterward.4, source 4 DNS lets updates percolate out rather than guaranteeing that all copies are updated at the same time.4, source 4
A cache operator might decide to shorten the time to live for operational purposes, meaning a record may be cached for less than its TTL.6, source 6 Some servers are known to ignore the TTL on some record sets, such as when the authoritative data has a very short TTL.6, source 6 ICANN says a change to the IP address behind a domain will be recognized by the entire Internet within 48 hours.3, source 3 With Cloudflare, it may take longer than 5 minutes to see a record change, because the local DNS cache may take longer to update.10, source 10
DNS records are instructions that live in the authoritative DNS servers and provide information about a zone.11, source 11 DNS records can map a domain to an IP address, direct email to a mail server, or validate ownership of a domain.11, source 11 A and AAAA records map a domain name to one or multiple IPv4 or IPv6 addresses.7, source 7 In an A or AAAA record, the content is an IP address: IPv4 for A or IPv6 for AAAA.7, source 7
CNAME records map a domain name to another (canonical) domain name.7, source 7 The name that holds a CNAME record is an alias for that canonical name.4, source 4 When a CNAME record is present at a node, no other data should be present.4, source 4
A mail exchange (MX) record is required to deliver email to a mail server.7, source 7 In an MX record, the preference value is a 16-bit integer that ranks the record among others for the same domain name, and lower values are preferred.12, source 12 TXT records hold descriptive text, and the meaning of the text depends on the domain where it is found.12, source 12
An authoritative server is named in the NS (name server) record in a zone.6, source 6 An SOA (start of authority) record stores information about a domain such as the admin email address and when the domain was last updated.7, source 7 The SOA record's serial field holds the serial number for the zone, and secondary name servers initiate zone transfers if it increases.7, source 7 Cloudflare creates the SOA record automatically when you start using its authoritative nameservers, so you do not need to create one.7, source 7
An authoritative server knows the content of a DNS zone from local knowledge and can answer queries about that zone without querying other servers.6, source 6 An authoritative-only server serves only authoritative data and ignores requests for recursion.6, source 6 Nameservers, as Cloudflare uses the word, are the servers that hold the definitive DNS records for your domain and provide the final answer in DNS resolution.11, source 11
A recursive resolver is generally expected to cache the answers it receives.6, source 6 A forwarder is a name server used to resolve queries instead of directly using the authoritative nameserver chain.6, source 6 A primary server is any authoritative server configured to be the source of zone transfer for one or more secondary servers.6, source 6
A secondary server is an authoritative server that uses zone transfer to retrieve the zone.6, source 6 Every zone is required to be available on at least two servers, and many zones have more redundancy than that.4, source 4
A registrar is a service that handles the reservation of domain names.11, source 11 Very often the same company that offers domain registration also offers web hosting and DNS management.11, source 11 A DNS zone is an administrative boundary that defines who controls the DNS records for a domain and its subdomains.11, source 11 Once an organization controls its own zone, it can unilaterally change the data in the zone.4, source 4
Delegation happens when an NS record set is added in the parent zone for the child origin.6, source 6 To use Cloudflare DNS as an authoritative provider, your domain's nameservers must point to the nameservers you get from your Cloudflare account.13, source 13 When your domain is from a registrar other than Cloudflare Registrar and has not been delegated, you update your nameservers at your registrar.13, source 13 You can use a Whois search when you do not know who your registrar is.13, source 13
When a domain was acquired from a reseller rather than a registrar, you may have to update your nameservers in the reseller platform, not at the registrar.13, source 13 For a delegated subdomain that you onboard to Cloudflare, you update the NS records in the parent domain, not at the registrar.13, source 13
Visitors may not be able to reach your site when the authoritative DNS is slow or unreachable.11, source 11 Some organizations use more than one DNS provider to make a domain more resilient.11, source 11
WordPress.com handles DNS management, making the domain and site run from a single dashboard.14, source 14 ScalaHosting's SPanel lets you manage domains, emails, files, databases and DNS from one dashboard.15, source 15
DNS stands for Domain Name System. It is a hierarchical and decentralized naming system for Internet-connected resources.
It translates human-friendly domain names into numeric IP addresses. It is also the basis for email and many other online uses.
IP addresses are hard to remember and might change over time. Therefore, human-readable domain names are used instead. 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.
Resolvers can cache each record for up to its TTL. A longer TTL means updates take longer to go into effect. DNS lets updates percolate out rather than guaranteeing that all copies are updated at the same time.
DNS records are instructions that live in the authoritative DNS servers. They provide information about a zone. Records can map a domain to an IP address, direct email to a mail server, or validate ownership of a domain.
It is the mapping of a domain name to an IP address. A reverse DNS lookup determines the domain name associated with an IP address.
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