Split Horizon DNS: Internal and External Views

Return different IP addresses based on the origin of the DNS query.

Split horizon DNS (or split-brain DNS) is a technique where the DNS server returns different responses based on the query origin. Typically, internal queries (from LAN) receive private IP addresses while external queries receive public IP addresses. This optimizes routing, avoids NAT hairpinning, and can secure access to internal resources. It's a common configuration but complicates monitoring and troubleshooting.

Symptoms of Split Horizon Problems

Split Horizon Use Cases

Split Horizon Diagnosis

  1. Test from internal: dig @internal-dns-server example.com to see internal response.
  2. Test from external: dig @8.8.8.8 example.com to see public response.
  3. Compare both results and verify they match expected configuration.
  4. Document which domains use split horizon and what responses are expected.

Multi-View Monitoring

MoniTao can monitor both sides of your split horizon:

Split Horizon Best Practices

FAQ - Split Horizon DNS

Is split horizon a security flaw?

No, it's a legitimate segmentation technique. But misconfiguration can expose internal info.

How to configure split horizon?

With BIND, use "views". With cloud DNS, create private zones. Details depend on your stack.

Does CDN work with split horizon?

Yes, but configure CDN to use public IP. Internal queries can bypass CDN if desired.

How to monitor both views?

Configure MoniTao monitors from IPs in each network, or use an internal agent for private view.

Ready to Sleep Soundly?

Start free, no credit card required.