DNS

View as Markdown

Nameserver groups provide applicable endpoints with default or specified-domain DNS configuration; custom zones maintain DNS records. Check their scopes, endpoint configuration and network conditions separately. Saving does not mean resolution is already effective.

When configuring a nameserver group, All Domains under Resolution Mode creates a default group; Specified Domains lets you enter matching domains. All Domains does not automatically distribute the configuration to every endpoint. Select access groups under Effective Scope and check that the endpoints allow DNS management configuration to be applied.

In Ping64 Zero Trust, a default nameserver group generally handles queries not handled by other applicable rules; a specified-domain group can handle queries for its matching domain and subdomains. Other DNS rules, the endpoint system and the application can affect the actual resolution source. Matching domains determine the query scope, not which endpoints receive the configuration. A search domain may let the system append a domain suffix to a short name; behavior depends on the system and application.

Common scenarios

Scenario Resolution behavior
No default nameserver group The device’s original DNS or another source may be used; custom zones and other rules may still apply.
Specified-domain group Matching domains and subdomains can use this group; other names depend on other configuration.
All-domains group On applicable endpoints, queries not handled by other rules can use this default group.
Search domains enabled A suffix may be appended to short names; expansion and order depend on the system and application.
No valid upstream answer after a match Some endpoints do not automatically switch that query to the original DNS for this reason alone.

Without a default group, endpoints may use other resolution sources, and custom zones or other rules may still apply. The device's original DNS is not guaranteed to be used. When troubleshooting, test enterprise fully qualified names, ordinary domain names and required short names separately.

Not matching a specified domain is different from a resolution failure after a match. On some endpoints, if a query has been handed to the applicable nameserver groups and none of their applicable servers returns a valid answer, that query does not automatically switch to the original DNS for that reason. The operating system, application, or later retries may behave differently; verify the actual resolution sources separately. A server response that the domain does not exist is generally a valid response; some endpoints may not continue to another server in the same group. When multiple groups apply, other groups can also affect the result.

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.

A custom zone is not an isolation boundary for domain queries. On some endpoints, names not configured in the zone may continue to other applicable DNS rules; do not assume those queries are blocked or always remain within enterprise DNS. Where outbound queries must be restricted, use and verify separate organization-approved controls. See Manage DNS Custom Zones and Records.

On some Linux endpoints, when the Zero Trust client manages DNS through systemd-resolved, it attempts to disable DNSSEC validation and DNS over TLS on the Zero Trust interface. Whether this succeeds depends on the endpoint environment; failure does not necessarily prevent the rest of the DNS configuration from being applied. This does not imply the same settings on other interfaces or upstream DNS servers. A Zero Trust connection alone does not establish that DNS queries are encrypted or DNSSEC-validated. If your organization requires DNSSEC or encrypted DNS, consult network and security administrators before making changes and verify the actual resolution path and protections on target endpoints. If the requirements cannot be met, use another organization-approved approach.

Example: Resolve an Internal Domain for Development Endpoints

Suppose pilot endpoints need an enterprise DNS server for dev.example.com and its subdomains. The example server is 10.20.0.53 on port 53. Replace these example values with those supplied by your organization.

First check existing nameserver groups for enabled status, DNS addresses, matched domains, effective scope and search-domain settings. Reuse a suitable group without creating or saving one solely for testing. Create or change and save a group below only when necessary; actual endpoint resolution must still be verified.

  1. Confirm the pilot endpoints are connected to the zero-trust network, permitted to apply DNS management settings, and able to reach the enterprise DNS server. For cross-network access, also check the routes, access policies and the server's return path.
  2. Only if creation or changes are needed, follow Configure DNS Nameserver Groups to create or update a group. Under Effective Scope, select the access group containing the pilot endpoints; enter the server address and port under DNS Servers; under Resolution Rules, choose Specified Domains and set the matched domain to dev.example.com. Assess and enable a search domain only if short names are needed.
  3. If changes were made, save them first. Confirm the group is enabled and wait for the endpoints to receive and apply the configuration. Without a higher-priority or more specific rule, the group can handle git.dev.example.com; www.example.net does not match and needs another applicable resolution source. If the search domain is enabled, the system may try to expand the short name git to git.dev.example.com.
  4. Using organization-approved test names, verify an enterprise fully qualified name, another domain and any required short name on the pilot endpoints. Check the actual resolution sources using available records, then test the business connection. Results depend on the server, endpoints, other rules and application; the example does not guarantee successful resolution or access.

Updated

Search documentation