Skip to content
Cloudflare Docs

Manage internal zones

Refer to the following sections to learn how to manage your internal DNS zones.

Configuration conditions

When setting up internal zones, observe the following conditions:

  • Internal zones can contain the same DNS record types that Cloudflare supports for public zones.
  • An internal zone can have the same name as a public zone in the same account.
  • Each internal zone can be linked to multiple views1.
  • There can be several internal zones with the same name in one account. However, two internal zones with the same name cannot be linked to the same view.
  • Internal zones are not subject to any top-level domain (TLD) restrictions. This means that an internal zone can be created if its TLD is not registered publicly (for example, xyz.local), if it is created on the TLD itself (local), or even if on the root (.).

Footnotes

  1. Logical groupings of internal DNS zones that are referenced by Gateway resolver policies to define how a specific query should be resolved.

Create an internal zone

  1. Log in to the Cloudflare dashboard and select your account.
  2. Go to Internal DNS and select Create an internal zone.
  3. Give your internal zone a name.
  1. Add DNS records to your internal zone using your preferred option:
  • Import a formatted BIND file.
  • Select Add a record and choose Create under the record type you want to add. Refer to DNS record types for details.
  1. Repeat this process for each internal zone you wish to add.

Other API actions

The API endpoints to manage internal zones are the same as for managing public zones. The main difference is that the zone type must be set to internal. Refer to the API documentation below for details: