1 Introduction
A domain name is like the name on a mailbox.
The postal address (the IP address) says where the mailbox physically is,
but the name is what people remember. When you type google.com into your browser,
the DNS, the internet's directory,
translates that friendly name into the IP address of the server to contact.
Domains are a cornerstone of the internet, and a favorite tool of attackers who want to look legitimate.
360M+
Registered domain names worldwide, according to Verisign (2025)
1,400+
Top-level domains (.com, .fr, .org...) in the DNS root
1985
First .com ever registered (symbolics.com)
2 How It Works
Use the domain analyzer below to inspect any domain name. You can see its DNS records, registration information and security configuration. Understanding a domain's structure helps you spot impostors and malicious sites.
Anatomy of a domain name
mail.example.com
Optional prefix (mail, blog, api...)
The name chosen by the owner
Top-level domain (extension)
You type a domain name in your browser
DNS servers translate the name into an IP address
Your browser connects to the server at that IP
Read a domain from right to left
The part that really identifies the owner is the name just before the extension. In
paypal.com.account-check.xyz,
the real domain is account-check.xyz: "paypal.com" is only a subdomain chosen by whoever owns it.
Attackers rely on the fact that people read from left to right and stop at the first familiar word.
3 Detailed Analysis
Key domain concepts
TLD (Top-Level Domain)
The last part of the domain (.com, .org, .net). Country-code TLDs such as .fr, .uk or .de refer to a country or territory. Some cheap newer TLDs are disproportionately abused by attackers, although many legitimate sites use them too.
Subdomain
A prefix added before the main domain (e.g. "mail.google.com"). Organizations use subdomains to organize their services. Attackers create subdomains such as "login.yourbank.evil.com" to trick users.
FQDN (Fully Qualified Domain Name)
The complete name of a host, including all its parts: subdomain + domain + TLD. Example: "www.example.com." (the trailing dot, usually omitted, represents the DNS root).
WHOIS / RDAP
Public registration data: when a domain was created, when it expires, and through which registrar. Since the GDPR, the owner's personal details are usually hidden, and RDAP has officially replaced the old WHOIS protocol for generic TLDs since 2025. The creation date remains one of the first things an analyst checks.
Key DNS records
A / AAAA
Point the domain to an IPv4 (A) or IPv6 (AAAA) address: the basic name → address translation.
MX (Mail Exchange)
The servers that receive email for the domain.
NS (Name Server)
The DNS servers responsible for the domain. An unexpected change of NS can be a sign of hijacking.
TXT (SPF, DMARC...)
Text records used, among other things, to authenticate email. Without them, it is easier to send emails that impersonate the domain. More details in What is DNS?
Domain lifecycle
A domain is never bought for good: it is rented for one to ten years, then renewed. If the owner forgets, it expires, goes through a grace period, and is eventually released so anyone can register it again. Attackers watch for expiring domains that once belonged to legitimate companies and re-register them to inherit their residual trust, traffic and sometimes even emails still sent to old addresses. To dig deeper into a domain you do not trust, see Analyzing a suspicious domain.
If you own the domain: an expiry warning in a scan
A scan flags a registration that ends within weeks. Renew it now and turn on auto-renew with a payment method that will still be valid next year: an expired domain takes your website and your email down with it.
Registrar lock
The clientTransferProhibited status (shown in WHOIS/RDAP) blocks transfers to another registrar without your approval. Most registrars enable it for free. For critical domains, ask about a registry lock, which also requires a manual check before any DNS change.
Who receives the renewal reminders
Make sure the registrar account and its contact email belong to a role (it@, domains@) rather than to one person, and that this address is not on the very domain that might expire.
Try it on mlab.sh
Scan any domain to view its DNS records, registration data, TLS certificate and security configuration. Apply the domain analysis skills you just learned.
Scan a domain on mlab.sh4 Red Flags
Recently registered domain
A domain created only days or weeks ago is far more likely to be used for phishing or scams. Legitimate businesses rarely use brand-new domains for their critical services.
Name imitating a known brand (typosquatting)
Domains such as "g00gle.com", "paypa1.com" or "amazon-secure-login.com" use visual tricks or reassuring words to impersonate real brands. Check the spelling carefully, character by character.
Unusual TLD for the context
Cheap extensions such as .xyz, .top, .buzz or .click show up frequently in phishing and malware campaigns. A bank or a government agency writing to you from such an extension should raise suspicion.
Hidden or inconsistent registration data
Privacy protection is normal today. But a domain claiming to represent a large company, yet registered very recently through an unrelated registrar, deserves caution.
Random-looking domain name
Domains like "xk7j2m.com" or "a3b8c9d.net" that look like random characters are often generated automatically by malware to reach its command-and-control servers.
Trusting the padlock alone
A site without HTTPS does not protect your data, but the reverse is not true: TLS certificates are free and most phishing sites now display a padlock too. The padlock means "encrypted", not "trustworthy".
Related Modules
What is DNS?
The Internet's phone book: how DNS translates domain names into IP addresses.
Analyzing a suspicious domain
Techniques for evaluating whether a domain is legitimate or potentially malicious.
Recognizing a phishing link
Techniques for detecting fraudulent URLs that mimic legitimate websites.
Source: mlab Academy — Cybersecurity Awareness Platform
URL: https://academy.mlab.sh//page/domain
Module: What is a domain? — Fundamentals
Disclaimer: This content is for awareness purposes only.