Manage DNS Custom Zones and Records
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.
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. Identify the access groups that should receive the records.
- 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.
Create a Zone
- 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.
- Enter the zone Domain, and optionally enter a Name that identifies its purpose. The domain is required and cannot be edited after creation; plan a new zone if the domain must change.
- Under Distribution Settings, 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.
- 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.
- 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.
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.
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.
Add DNS Records
- Open the target zone in the custom-zone list, enter its DNS records, and select Create Record.
- Enter the full record domain name in Name. For example, for zone
dev.example.com, entergit.dev.example.com. - Select a record type and enter the corresponding content.
Auses an IPv4 address,AAAAan IPv6 address, andCNAMEa target domain name. - Enter a positive TTL 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. - 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.
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.
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.
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.
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.
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.
- 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.
- Use the status switch on the zone row to disable or re-enable it and verify the final status. The switch may be unavailable while an update is pending or without write permission.
- 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, choose Delete, verify the target, and confirm Delete.
- To delete a zone, return to the custom-zone list, choose Delete on its row, verify the target, and confirm Delete. Deletion can require different permission from editing. Check the list afterward and verify resolution and cache updates on affected endpoints.
Changes and Troubleshooting
- 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.
- 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.
- Check that the full record name is entered and that the type and content match. A
CNAMEtarget must also be resolvable in the current environment. - 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.
- 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