Domains

Reserved and Restricted Domains: What They Are and Why They Exist

Reserved and restricted domains are names that IANA blocks or protects to prevent technical conflicts, fraud, and abuse on the internet.

Closeup of many cables with blue wires plugged in modern switch with similar adapters on blurred background in modern studio

Reserved and restricted domains are domain names you cannot freely register because the IANA — the body that administers the global domain name system — has either blocked them or placed them under special conditions of use. They exist to protect the technical stability of the internet, prevent fraud, and preserve certain names for legitimate purposes.

If you have ever tried to register a domain and got an error that was not simply "unavailable," you may have run into one of these protected names.

What is the difference between a reserved domain and a restricted one?

Although often used interchangeably, there are important distinctions:

Reserved domains

These are names that IANA has withdrawn entirely from the registration market. Nobody can buy or use them for public websites, regardless of the price they are willing to pay. Their purpose is technical or documentation-related, and they are defined in RFCs (internet standards documents).

Restricted domains

These can be registered, but only if you meet certain requirements. For example, a .edu domain can only be registered by an accredited US educational institution; a .gov can only be obtained by a verified US government entity. The names are available in principle — access is just conditional.

What are the most important reserved domains?

RFC 2606 (and its update RFC 6761) defines the domain names reserved for special use. The most relevant ones are:

Name Type Purpose
example.com, example.net, example.org Reserved for documentation Used in manuals, tutorials, and technical examples without conflict risk
.localhost Reserved for local use Always points to the local machine (127.0.0.1); never resolved in public DNS
.local Reserved for local networks Used by mDNS (Bonjour/Avahi) for device discovery on LANs
.test Reserved for testing Development and internal test environments; never resolves on the public internet
.invalid Guaranteed to be invalid Used when a domain name is needed that is known to be non-resolvable
.example Reserved for documentation Same purpose as example.com but as its own TLD
.internal Reserved (ongoing process) Being formally reserved by ICANN for private corporate networks

Beyond these, ICANN maintains a list of special-use TLDs that includes variants in other languages and scripts, as well as extensions blocked during trademark disputes.

Why do reserved domains exist?

The short answer: because without them, the internet would work less reliably and would be easier to exploit.

Technical stability

Imagine .localhost were not reserved and someone registered it as a public TLD. Every application or operating system that uses localhost to refer to itself could start sending DNS queries to that stranger's server. That would break basic functionality on millions of machines.

The same applies to .local: it is the backbone of the mDNS protocol used by printers, smart speakers, NAS devices, and cameras to find each other on your network. If it were registrable, that entire ecosystem would become fragile.

Safe documentation and teaching

When a technical manual, a presentation, or a blog post (like this one) needs to show an example domain, using example.com guarantees that a reader will not accidentally end up visiting a third-party site. IANA operates those domains and keeps them harmless.

Fraud prevention

Without protections, a malicious actor could register .test as a TLD and capture traffic from development environments that carelessly resolve queries in public DNS. They could also register high-value generic names to extort companies or governments.

Restricted domains: who can register them

Unlike reserved domains, restricted domains are accessible — but only to specific profiles:

.gov and .mil (US only)

Only US federal government entities or armed forces can register under these extensions. The process goes through direct verification with the responsible government agency, not through a commercial registrar.

.edu (US only)

Exclusive to accredited US higher education institutions. EDUCAUSE is the designated operator and verifies each application. A private university in another country cannot obtain a .edu; local extensions like .edu.mx or .ac.uk exist for that purpose.

.int

Reserved for international organizations created by treaty (UN, NATO, WHO, etc.). It is one of the most exclusive TLDs; fewer than 300 domains are active under .int.

Brand TLDs

Companies like Google (.google), Apple (.apple), and Amazon (.amazon) have registered their own brand extensions with ICANN. Nobody else can register domains under those TLDs. They are, in practice, privately restricted domains.

Country extensions with local restrictions

Several ccTLDs impose local conditions:

  • .de (Germany) — requires a local contact address.
  • .ca (Canada) — requires verifiable Canadian presence.
  • .eu (European Union) — only for residents or businesses registered in the EU.
  • .au (Australia) — requires an Australian Business Number (ABN) or equivalent.

For more context on how different extension types work, browse the domains category with guides on ccTLDs, gTLDs, and new-generation extensions.

What happens if you try to register a reserved domain?

Well-configured registrars simply block those names and display an error. However, some poorly configured internal systems may create local DNS zones with reserved names (like .local or .test) without anyone noticing, which can cause subtle conflicts when network devices try to resolve those names.

In development environments, best practice is to use exactly the names reserved for that purpose (.test, localhost, example.com) rather than inventing fictional domains like myapp.dev without registering them — some of those names ended up being registrable and could resolve unexpectedly.

If you have questions about which domain to use for your project or test environment, the experts at elenlace.com can help you choose a strategy that avoids technical conflicts and fits your needs.

Key takeaways

  • Reserved domains are completely un-registrable; they exist to guarantee technical stability and safe use in documentation.
  • Restricted domains can be registered, but only if you meet the operator's requirements (educational institution, government, treaty-based international organization).
  • The main reserved names are: .localhost, .local, .test, .invalid, .example, and domains under example.com/net/org.
  • Without these protections, malicious actors could intercept internal traffic and break basic functionality in operating systems and networks.
  • Before inventing a "fictional" domain for development, use the official reserved names designed for that purpose.

Need to choose the right domain for your site or work environment? Visit elenlace.com and our team will guide you to register the ideal name without technical headaches.

FAQ

Can I use example.com in my code tests?

Yes, and it is actually the recommended practice. IANA operates example.com, example.net, and example.org precisely for this purpose. They respond to HTTP requests and return a basic page, but they do not belong to any third party that could change the content in a harmful way.

Is the .dev domain reserved?

No. .dev is a gTLD (generic top-level domain) operated by Google Registry. It is available to anyone, though since 2019 it requires HTTPS because it was added to browsers' HSTS preload list. Do not confuse "reserved" with "used only for technical purposes."

Why can't .localhost be registered even though it is not an official IANA TLD?

Because operating systems and network stacks are programmed to intercept any query to localhost and resolve it locally (127.0.0.1) before it ever reaches DNS servers. Even if someone registered it, traffic from most devices would never reach their server. The formal reservation adds an extra layer of protection on top of that technical reality.

Do country-code domains like .mx have restricted subdomains?

Yes. NIC Mexico manages several second-level subdomains with restricted access: .gob.mx is exclusive to Mexican federal government entities, .edu.mx for educational institutions, and .net.mx for telecom providers. The .com.mx and direct .mx are the most open to the general public.

Compare providers

Other providers and guides worth comparing:

← All