split-horizon DNS

This text was analyzed, written and translated by artificial intelligence (AI). It may contain mistakes.How we use AI

A setup in which the same domain name A readable internet name made of labels separated by dots. Full definition of domain name gives different answers depending on who asks. A company may show internal addresses to its own staff and public ones to everyone else. It is common in corporate networks and is one reason private names can clash with public TLD top-level domain The last part of a domain name, after the final dot. Full definition of TLD.

category
DNS and technical foundations

Updated on 4 min read

Split-horizon DNS means that the same domain name gives different answers depending on who asks. A company’s own staff, inside its network, may see one set of names and addresses, while everyone else on the internet sees another set, or nothing at all. It is a common way to keep internal systems private, and it is closely tied to the problem of private names clashing with public top-level domains.

What split-horizon DNS is

Normally a domain name means the same thing everywhere. With split-horizon DNS, the servers that are authoritative for a chosen set of names give partly or completely different answers, depending on where the query comes from.

The IETF Internet Engineering Task Force The open body that writes internet standards such as DNS, EPP and RDAP. Full definition of IETF terminology document, RFC Request for Comments A numbered document in the series recording the internet's technical standards and practices. Full definition of RFC 9499 (March 2024), notes that “split DNS” and “split-horizon DNS” have long been used without a formal definition. RFC 2775 (February 2000) also called it “two faced DNS Domain Name System The internet's directory that links domain names to computer addresses. Full definition of DNS”.

The usual tool is a server “view”: a configuration that chooses the response based on the query, most often the IP Internet Protocol The internet's basic rules for sending data, using numeric addresses for every connected device. Full definition of IP (IP) address it comes from. RFC 9499 says views are widely implemented but are not a standardized part of the DNS. The effect is that a name meant to be globally unique has different meanings for different users.

Why companies use it

  • To keep internal names private. The SSAC Security and Stability Advisory Committee ICANN's expert committee on security and stability of naming and addressing. Full definition of SSAC of ICANN Internet Corporation for Assigned Names and Numbers The nonprofit that coordinates the global DNS and gTLD policy. Full definition of ICANN (SSAC), in its advisory SAC113 (18 September 2020), describes organizations using split DNS to stop private names from being resolved outside the organization.
  • To give staff internal addresses. A service can resolve to a private address for people in the office and to a public address, or not at all, for everyone else.
  • For remote access. RFC 8598 (May 2019) explains that split DNS is commonly part of a split-tunnel virtual private network (VPN). Only queries for the company’s names go to the company’s internal name server A server that holds a domain's DNS records and answers lookups. Full definition of name server, so the company does not see the rest of the user’s DNS activity.

How it works with internal and public servers

RFC 8598 describes two common patterns:

  1. An internal-only subdomain A name created under a registered domain, like shop.example.com. Full definition of subdomain. A company publicly known to use example.com runs corp.example.com only on its internal servers.
  2. An internal version of the public domain. The internal servers answer for example.com itself, with different data from the public servers.

A worked example: inside the office, a query for intranet.example.com reaches the internal view and returns a private address. From the internet, the public authoritative server A DNS server that gives the official answers for a domain or zone. Full definition of authoritative server for example.com have no such name, or return a different public address.

The internal answers only reach devices that ask the network’s own resolver The DNS server that looks up domain names on behalf of users. Full definition of resolver. RFC 9704 (January 2025) notes that clients sending all queries to another resolver never receive them. It defines a way for a domain owner to tell clients which local, encrypted resolvers may answer for certain subdomains.

DNSSEC Domain Name System Security Extensions Digital signatures that prove DNS answers are genuine and unchanged. Full definition of DNSSEC adds a step. A signed public zone can prove that an internal name does not exist, so RFC 8598 lets a VPN pass a separate trust anchor The key a DNSSEC resolver trusts from the start, normally the root zone's key. Full definition of trust anchor for the internal version of the domain.

Some organizations invent a top-level domain for internal systems instead of using a registered domain. ICANN’s name collision When a private network name clashes with a public DNS name. Full definition of name collision guide for IT professionals (version 1.1, 1 August 2014) explains the risk: a query for a private name leaks to the global DNS and finds the same name there, often because the suffix was later added as a real TLD. SAC113 says there is ample evidence that such private strings leak.

Both the SSAC and ICANN’s guide recommend naming internal resources under a domain the organization has registered, and using split DNS to keep those names private. The SSAC calls this still the best way to avoid future problems.

SAC113 also asked for one string to be reserved for private use. On 29 July 2024, the ICANN Board ICANN's board of directors, which adopts policies and approves key decisions. Full definition of ICANN Board permanently reserved .internal from delegation in the root zone The top of the DNS, listing every TLD and its name servers. Full definition of root zone (resolution 2024.07.29.06); IANA Internet Assigned Numbers Authority The functions that coordinate the root zone, IP addresses and protocol numbers. Full definition of IANA chose the string. Names under .internal can never collide with a public TLD, but they cannot work on the public internet. The Board said it is impossible to determine how far the reservation will help.

As of October 2026, .internal is not in IANA’s registry The central database and system of a top-level domain, or loosely the organization that runs it. Full definition of registry of special-use domain names Names reserved for technical uses and not delegated like normal domains. Full definition of special-use domain names. That registry lists names such as home.arpa, which RFC 8375 (May 2018) designates for home networks.

Common mistakes and how to avoid them

  • Inventing a TLD. A made-up suffix risks a collision. The published advice is to move internal names under a registered domain.
  • Relying on short names. ICANN’s guide warns that short names completed by a search list give different results in different places. Fully qualified names avoid this.
  • Leaking internal names. Queries that reach outside resolvers reveal private names.
  • Bypassing the network resolver. Devices or VPN setups that use another resolver get the public answer.
  • DNSSEC mismatches. A signed public zone can contradict the internal view.
  • Old certificates. ICANN’s guide says certificates issued for old private names should be revoked.
  • Two sets of data. Both versions must be maintained. Organizations unsure how this applies should check with their DNS provider A company that runs the name servers for a domain, which may differ from the registrar. Full definition of DNS provider or registrar A company that registers domain names for customers with the registry. Full definition of registrar.

Sources