Manage DNS Custom Zones and Records

View as Markdown

A custom zone maintains DNS records for a domain in Zero Trust DNS. It differs from a nameserver group: a nameserver group specifies upstream DNS servers, whereas a custom zone maintains individual records in the zone.

Check the zone domain, record content, and distribution scope separately. Saving a zone does not mean every endpoint has received it, nor does it guarantee that the service identified by a record is reachable.

On some Linux endpoints, DNS management can affect interface settings for DNSSEC and DNS over TLS. Review the DNS security guidance and verify compliance with your organization’s requirements before making changes.

On this page:

Before You Begin

  • Use an account with Zero Trust DNS management permission and identify the domain and its owner.
  • Confirm that target endpoints are connected to the Zero Trust network and permitted to apply DNS management settings. Determine the distribution scope and prepare access groups if the scope must be restricted by group. If no distribution group is selected, the zone may apply to all eligible endpoints; an empty selection does not mean no distribution.
  • Check that proposed records will not unexpectedly conflict with existing organizational DNS names and business settings. Prepare target addresses or aliases that can be verified.
  • Assess the effect before making changes. Start with a controlled endpoint scope and test names.

First check existing zones for their domain, enabled status, distribution scope and records. Reuse a suitable configuration without creating or resaving one solely for verification. Once the target endpoint has received and applied it, separately verify the expected records, unconfigured names and business connectivity. Perform the relevant operations below only when a required zone or record is missing or a change is needed.

Create a Zone

Unsaved configuration: Canceling or closing this settings window discards the current unsaved input; it may close without another warning. Record information you need to keep before closing. A reopened creation window must be filled in again; editing an existing object attempts to reload it. Canceling does not undo changes already saved. If the save result is unclear, query and check it again first; contact an administrator or technical support if it cannot be confirmed.

A new zone is enabled when saved successfully. Check the distribution scope before saving; a zone without records does not produce a record set for distribution. Verify the target endpoints after adding records.

If saving fails, times out or the result is unclear, do not assume the object was not created or immediately create it again. First record any unsaved content you need to keep, reload the relevant list and check the configuration and status; contact an administrator or support if the result remains unclear.

Before creating a zone, check existing custom zones and the peer DNS domain suffix. Within the same tenant, a zone cannot duplicate an existing domain, even if the existing zone is disabled; the zone domain also cannot exactly match the current peer DNS domain suffix. If saving fails, check these settings and coordinate with the relevant administrators. Do not delete or change existing settings merely to clear a conflict.

  1. In the console, open Zero Trust > DNS. If the page already contains a nameserver group or custom zone, select the Custom Zones tab and choose Create. If both lists are empty, choose Create Custom Zone on the introductory page.

  2. Under “Basic Information”, enter the required zone “Domain” and optionally a “Name” that identifies its purpose. If the name is blank, the form submits the entered domain as the name; clearing the name while editing an existing zone does the same, so do not assume the previous name is preserved. Do not clear it if the previous name must be retained, and verify after saving. The domain cannot be edited after creation; plan a new zone if it must change.

  3. Switch to Distribution Settings and select the Distribution Groups that should receive the zone. If no distribution group is selected, the zone can apply to all eligible endpoints. Explicitly select groups for a pilot or restricted department.

  4. Select Enable Search Domain if required. The zone is then distributed as a DNS search domain; whether a short name is expanded depends on the operating system and application.

    Turning off this zone’s search-domain option does not delete the zone or its existing records, and does not disable its resolution of fully qualified names. Other zones, server groups, or existing device settings may still provide the same search domain. After saving, wait for the target endpoint to receive the change and test short and fully qualified names separately. Actual results also depend on scope, operating system, and application.

  5. Save and return to the zone list. Check the name, domain, groups, and enabled state, then open the zone to maintain DNS records.

Unlike a nameserver group, which requires an effective scope, a custom zone can have no distribution groups selected. Do not apply the same scope assumption to both. After disabling a zone, do not expect its new configuration to remain active; existing endpoints still need to receive the change and be verified.

Searching for distribution groups: When results are present, pressing Enter in the group selector adds the first result to the selection; it does not deselect an item that is already selected. Select the required groups explicitly and verify the complete selection before saving. Do not infer the target from the search text alone. Pressing Enter can select the first item even when the search box is empty; if All is available, it may be first. Verify the selection before saving and correct any unintended selection.

Check unrecognized distribution groups: When editing an existing zone, a selected distribution group absent from the current selectable list may not display its actual name, yet the selection may remain and be submitted when saving. Adding or removing only visible groups does not guarantee removal of these existing selections; do not infer an empty scope or coverage of all endpoints from the field display alone. If the complete scope cannot be confirmed, cancel editing and ask an administrator or support to inspect the original configuration. After changes, test resolution from pilot endpoints both inside and outside the intended scope.

Add DNS Records

Before adding records, review the same-name conflicts, IPv6 zone identifiers, and wildcard limitations below, and confirm the planned records meet those requirements.

  1. In the custom-zone list, click the target zone’s row to open DNS Records, then select Create Record.
  2. Enter the full record domain name in Name. For example, for zone dev.example.com, enter git.dev.example.com.
  3. Select Type and enter the corresponding Content:
    • A: Enter an IPv4 address.
    • AAAA: Enter an IPv6 address.
    • CNAME: Enter the target domain name.
  4. Enter a positive integer TTL in seconds according to DNS management requirements and save. A new record starts with TTL 300. Return to the list and verify the name, type, content, and TTL. A positive TTL must not exceed 2147483647 seconds; this limit is not a recommended value. Choose a TTL appropriate for your caching needs.
  5. Confirm the zone is enabled and contains the intended records. Query the full domain name from an endpoint in the distribution scope and verify the result. A zone without records does not produce a record set for distribution.

Records with the same name: In the same zone, a name can have multiple A or AAAA records with different values, and A and AAAA can coexist. A CNAME cannot coexist with another record of the same name, including another CNAME. An identical name, type, and value cannot be added twice, even with a different TTL. If saving fails, check existing records and types first. Before replacing a record, assess cache and service impact and prepare a recovery plan. Records whose name, type, and value differ only in letter case are still treated as duplicates.

For example, 2001:db8::53 and 2001:0db8:0:0:0:0:0:0053 represent the same IPv6 address. For AAAA records with the same name in a zone, addresses are normalized, so a different spelling may still be rejected as a duplicate. Check existing addresses rather than assuming different text means a different target.

IPv6 zone identifiers: Do not enter an address with an interface or zone identifier in an AAAA record, such as fe80::1%12. The page may allow it to be saved, but some endpoints cannot process it as a DNS record. Removing %12 alone does not make a link-local address reachable on the target network. Select an address without such an identifier that is reachable under your network plan, and verify DNS resolution and connectivity separately from pilot endpoints.

Wildcard records: A custom-zone record name can use a leftmost wildcard. For example, create an A record for *.dev.example.com in dev.example.com. In some endpoint resolution scenarios, when the queried name has no explicit local record, git.dev.example.com can match it; the zone root dev.example.com and the deeper name api.git.dev.example.com do not match that wildcard record. Other DNS configuration can still produce an answer. Test exact names, the zone root, and deeper names separately; do not treat this rule as a resolution or blocking guarantee for every level.

A CNAME target domain does not support a wildcard. For a wildcard alias, the record name can be *.dev.example.com and the target can be a full domain without a wildcard, such as target.example.com; do not enter *.target.example.com as the target. After saving, verify resolution of the alias and target separately from a pilot endpoint.

Wildcard aliases and exact records: On some endpoints, if git.dev.example.com has an A record but no AAAA, and a CNAME for *.dev.example.com points to a target with an AAAA record, an AAAA query for that name may still return the alias target’s IPv6 address. An existing A record does not guarantee that a wildcard alias is excluded for other query types. Assess the impact before configuration and verify the final A and AAAA answers and business path separately.

TTL indicates how long a record in a DNS answer may be cached. For example, 300 seconds is 5 minutes. After a record is changed or deleted, devices or resolvers that cached the old answer may temporarily continue using it; saving and distributing the configuration also take time. Actual updates depend on endpoints, applications, and other DNS caches. TTL does not guarantee that every endpoint updates at exactly that time. Verify the actual resolution from affected endpoints after the change.

New records and earlier negative results: Some systems, applications or resolvers may cache an earlier response that a name does not exist or has no address of the requested type. Even after a new record is distributed, affected queries may temporarily lack the expected answer. The new record’s TTL does not directly determine how long those earlier results are retained. Check the record, type, distribution scope and endpoint state, then inspect caches and retest using methods approved by your organization. Do not judge whether the configuration has taken effect from a single query.

A-record address format: Use standard IPv4 notation without leading zeros, such as 10.20.0.53. Some inputs with leading zeros may be accepted but interpreted as a different address. Recheck the saved record and verify resolution from a pilot endpoint.

Check the record name and type: Both the name and content are required. The name must equal the current zone domain or be a subdomain of it. For example, git.dev.example.com belongs in the dev.example.com zone, whereas git.example.net does not. Changing the record type leaves the entered content in place; it is not converted automatically. Enter or check an address or alias target appropriate to the selected type. After saving, review the record again and verify resolution from a pilot endpoint.

For example, add an A record named git.dev.example.com under dev.example.com with test address 10.20.0.10. The address and domain are illustrative, not defaults; the organization must confirm actual targets. To add an alias for that target, create another record named app.dev.example.com with type CNAME and content git.dev.example.com; do not add another record with the same alias name. After saving, query the alias and target for A results separately from a pilot endpoint and verify the business connection. This example does not configure AAAA.

Pilot query example: If nslookup is available on the pilot endpoint, replace the names below with actual names owned by the organization or approved for testing. Run nslookup -type=A git.dev.example.com, nslookup -type=A app.dev.example.com, and nslookup -type=AAAA git.dev.example.com separately, then check the target and alias responses. The example above does not configure AAAA; the absence of an IPv6 address alone does not mean configuration failed, and other applicable DNS rules can affect the result. Omitting a server uses the tool's default query method. The displayed server may be a local forwarder or another resolver, so it does not prove the actual upstream or that the business application uses the same path. Also check endpoint configuration, available records, and the actual business connection.

Zero or empty TTL: The interface accepts 0 and treats an empty field as 0. For a new record, 0 is saved as 300 seconds; when editing, 0 preserves the existing TTL rather than changing it to zero. Historical records with non-positive TTL are distributed to endpoints with a fallback TTL of 60 seconds. Do not use 0 to mean caching is disabled. Enter the intended positive value, save, reopen or refresh the list to confirm the saved value, and test on a pilot endpoint.

Custom records and other DNS sources

A custom zone is not an isolation boundary for the entire namespace. When an endpoint processes a distributed custom zone, a name absent from the zone may continue to another applicable resolver. Do not assume unconfigured names are blocked or that such queries can never leave the organization's approved boundary.

Overlapping scope example: In the Zero Trust DNS path on some endpoints, suppose a delivered custom zone example.com contains an A record for git.dev.example.com with value 10.20.0.10, and a nameserver group matches dev.example.com. If no higher-priority rule intervenes, the custom record is generally handled first for that A query, even though the nameserver match domain is more specific. A name absent from the zone may continue to another applicable rule. The names and address are examples; test configured and unconfigured names and their actual resolution sources separately on pilot endpoints.

Check record types separately for the same name. For example, if the zone contains only an A record for git.dev.example.com, an AAAA query for that name may return no address; do not assume the system will always ask an upstream server for an IPv6 address. Other DNS rules and endpoint resolution behavior can also affect the final result. The name and addresses are examples.

Before deployment, use authorized test names and pilot endpoints to check A and AAAA for a configured name, an unconfigured name within the zone, and a name outside the zone. Verify the final responses and DNS sources against security requirements. Do not probe external resolvers using unauthorized sensitive names. Also verify application connectivity and access policy separately.

If a custom CNAME points to a name in the same distributed zone and the target record exists only in an upstream DNS server, do not assume the endpoint will always follow the custom alias and query that target upstream. In this situation, the original alias query can instead be passed to another resolver; resolution can still fail if that resolver lacks the alias. Configure the necessary target record in the custom zone and test both alias and target separately.

If a CNAME target is outside the managed zones received by an endpoint, some endpoints may use the endpoint’s system resolution mechanism to look up the target when processing address queries. The DNS server and query path depend on the endpoint environment and configuration. Do not assume the target is necessarily resolved by the alias’s nameserver group, that the query always stays within the enterprise network, or that it necessarily goes outside. Before enabling it, assess the sensitivity of the target name and organizational DNS requirements. On pilot endpoints, separately verify A and AAAA results for the alias and target, the actual resolution sources, and the business connection.

When a name returns multiple A or AAAA addresses, the client may filter some addresses according to the connection state of known Zero Trust peers. Unknown addresses are not filtered for this reason; filtering is not guaranteed for a single address or when all candidates are unavailable. A DNS answer does not establish service health or successful access. Check peer connectivity, service status and actual access separately.

Alias chains and cycles: In the zero-trust DNS resolution path on some endpoints, local handling follows at most 8 CNAME records in an alias chain. An excessively long or cyclic chain can return only part of the aliases without the final address; other resolvers or applications may behave differently. Avoid cycles and unnecessary long chains. On pilot endpoints, verify the alias and final target separately for A, AAAA and business connectivity; saving records does not prove resolution works.

Multiple-address resolution and on-demand connections: When some endpoints process a multiple-address response from a custom zone, the DNS lookup may attempt connections to known zero-trust nodes among the addresses and wait briefly before returning. The lookup itself may trigger connections without waiting for an application request. Initial lookup time and results can depend on node connection state. A connection attempt or returned address does not prove that the target service is available or that every address connected. In a pilot environment, verify lookup time, node state and actual business access separately.

A DNS response containing an IPv6 address does not mean IPv6 traffic uses the Zero Trust exit. In this version, configuring an IPv4 exit node does not automatically distribute an IPv6 default route. Verify the actual IPv4 and IPv6 paths and access controls separately; see Configure Zero Trust Network Routes.

Edit, Disable, or Delete Zones and Records

Before changing a zone, record its settings, distribution scope, and records; assess the impact and prepare a recovery plan.

Deleting an entire zone also deletes all DNS records in that zone; it does not merely disable resolution. Before deletion, record each name, type, content, and TTL, along with the zone and distribution settings, and confirm the recovery plan.

After saving or deleting a record, a success message can appear even if the list fails to reload. If that happens, or the result is otherwise uncertain, do not judge the final state from the message or a blank page, and do not immediately repeat the operation. Reopen the zone and check its records; decide the next step only after the list loads successfully.

Check before deleting: The confirmation dialogs for nameserver groups, custom zones and zone records do not show the target name. Verify the target row in the relevant list before opening the dialog; if unsure, close it and recheck the list.

  1. Open Zero Trust > DNS > Custom Zones. Choose Edit on the target zone row, change the name, distribution groups, or search-domain setting, and choose Save. The zone domain cannot be edited after creation.
  2. In the zone list, open the target row’s action menu and choose Disabled or Enabled, as appropriate. Verify the final status; the action may be unavailable while an update is pending or without write permission. If enabling or disabling reports an error, times out, or has an uncertain outcome, do not rely on the previous list status or repeatedly toggle it. Reopen the DNS page and, after confirming that the list loaded successfully, check the target status. If the outcome remains uncertain, contact an administrator or technical support before deciding whether to act again. A fresh query reflects the state at that moment; confirm separately whether the original request has finished. The menu shows only the action opposite to the current status: Disabled for an enabled item and Enabled for a disabled item.
  3. To change records, select the zone row to open its record list. Choose Edit on the target record and Save after the change. To remove a record, verify its row in the list before choosing Delete and confirming Delete.
  4. To delete a zone, return to the custom-zone list and verify its row before choosing Delete and confirming Delete. Deletion can require different permission from editing. Check the list afterward and verify resolution and cache updates on affected endpoints.

If applying DNS configuration fails on some endpoints, parts of the configuration may already have changed. Do not assume that the old configuration remains intact or that the new configuration is fully active. Stop expanding the change, check endpoint messages, current settings and network status, and separately test the names involved in this change and existing business names. If recovery is needed, follow the organization’s procedure and contact an administrator or support; test again after restoring configuration. Saving again or waiting does not guarantee recovery.

Changes and Troubleshooting

Loading fails during editing: When editing an existing nameserver group or custom zone, Save is unavailable while configuration is loading or after loading fails. Select Retry in the error message to reload it. After it loads, check the existing settings before making changes. Do not treat a loading failure or blank view as proof that the configuration was deleted; if the problem persists, check account permissions and network connectivity and contact an administrator or support if needed.

Concurrent DNS configuration edits: Saving an edited object submits several of its settings together. If another administrator has changed the configuration while the current form still contains older values, the later save can overwrite newer settings and affect resolution or scope. Coordinate with maintainers, record unsaved input, and reopen the configuration before changes. Check applicable server, domain, search-domain, and distribution settings, then reopen and verify the configuration and test resolution from pilot endpoints after saving. Reopening does not prevent later concurrent changes; check custom-zone records separately.

A custom-zone record can be overwritten in the same way. For example, an A record initially contains 10.20.0.10 with a TTL of 300. One administrator changes the address to 10.20.0.20; another, still using the old form, changes only the TTL to 600 and saves. The old address may be submitted and overwrite the new one. The addresses and TTLs are examples only. Coordinate with the maintainers before editing a record, note unsaved input, reopen the zone and target record, and check its name, type, content, and TTL. After saving, check again and test resolution from pilot endpoints. Reopening does not lock the record or prevent later changes.

  1. Before changing or deleting a record, identify dependent services, affected endpoints, and cache implications. Query again after saving and allow time for endpoints to receive the configuration and DNS caches to update as needed.
  2. If an endpoint does not get the expected result, check that the zone is enabled, has at least one record, and that Zero Trust DNS management is enabled on the endpoint. If distribution groups are selected, confirm that the endpoint belongs to at least one of them. If none are selected, the zone can apply to all eligible endpoints without requiring membership in a specified distribution group.
  3. Check that the full record name is entered and that the type and content match. A CNAME target must also be resolvable in the current environment.
  4. If resolution is correct but the service is unavailable, check routes, access policies, the target service, and network connectivity. A DNS record resolves a name; it does not automatically grant access.
  5. Disabling or deleting a zone affects endpoints relying on its records. Record the previous configuration and plan recovery before the change; afterward, verify using test endpoints both inside and outside the intended scope.

Updated

Search documentation