Configure DNS Nameserver Groups

View as Markdown

In Ping64, a nameserver group supplies DNS resolution settings to selected Zero Trust endpoints. Administrators can configure a common DNS server for names not handled by more specific rules, or direct only specific enterprise domains to selected DNS servers.

A nameserver group answers two separate questions: Effective Scope determines which endpoints receive the configuration, while the resolution rules determine which domain queries from those endpoints use it. After saving, endpoints still need to connect, receive, and apply the configuration; the DNS servers must also be reachable from those endpoints.

Before You Begin

  • Use an administrator account with Zero Trust DNS configuration permission and confirm that target endpoints are connected to the Zero Trust network.
  • Prepare the IP addresses and ports of DNS servers reachable from the targets, and the access groups to receive the configuration. This nameserver group configuration uses UDP; 53 is a common DNS port, but use the server's actual configured port.
  • Determine the target endpoints and domain scope. Before configuring all domains, verify that the selected DNS servers can resolve the names required by the endpoints and assess the impact on existing business and internet resolution.
  • An endpoint excluded from DNS management should not be expected to apply this configuration. Actual resolution also depends on its operating system, network, and the application's own resolver behavior.

Create a Nameserver Group

  1. In the console, open Zero Trust > DNS. If the page already contains a nameserver group or custom zone, select the Nameserver Groups tab and choose Create. If both lists are empty, choose Create Nameserver Group on the introductory page.
  2. Under Basic Information, enter a name and an optional description. Use a name that identifies the purpose, such as an internal development DNS group.
  3. Under Effective Scope, select at least one access group and confirm the target endpoints belong to the chosen scope.
  4. Under DNS Servers, enter server IP addresses and ports. Additional servers can be added; servers in the same group should satisfy the same resolution requirements. Each group must contain 1 to 3 valid server addresses. The page permits additional rows, but saving fails if more than 3 valid addresses are submitted.
  5. Under Resolution Rules, choose all domains or specified domains. For specified domains, add at least one Matched Domains entry; if short-name access is needed, assess whether to enable search domains as described below.
  6. Save. In the list, verify the group, matched domains, effective groups, and enabled status, then test resolution from target endpoints.

If saving fails, check the page message and review the name, addresses, ports, protocol, effective scope, and matched domains. Ports must be in the range 1 to 65535. The configuration is distributed only when the group is enabled and an endpoint is in scope. A console save alone does not prove that an offline endpoint or one that has not applied the configuration has switched resolution.

If any DNS server address in a group equals an endpoint’s own Zero Trust address, that endpoint may not receive the entire group, including its other servers, even when it belongs to the effective group. Do not infer that the server endpoint applied the group from membership alone. Plan and verify its resolution separately, and test server reachability from other pilot endpoints.

Choose a Resolution Mode

All Domains

All-domains mode makes the group the applicable endpoints' default upstream for queries not handled by more specific rules. This mode does not configure matched domains or enable the group's search-domain option.

For example, after an enterprise DNS group is assigned to office endpoints in all-domains mode, their queries that do not match more specific rules will normally use that group. Before deployment, verify that the enterprise DNS can resolve internal and external business names. A server that resolves only internal names may disrupt other resolution if used for all domains.

Specified Domains and Matched Domains

Specified-domains mode requires at least one matched domain. The matched domain and its subdomains can use this group; queries outside that scope are not all forwarded to the group merely because of this rule.

For example, the following address and domain are illustrative:

Item Example
DNS server 10.20.0.53, port 53
Resolution mode Specified domains
Matched domain dev.example.com
Effective scope The development endpoints' access group

An endpoint that receives the configuration can use the group for dev.example.com or git.dev.example.com; www.example.net is outside this matched domain. Successful resolution still depends on DNS records and connectivity.

Enter a regular domain as a matched domain, without a wildcard such as *.. For example, dev.example.com matches that domain and its subdomains; *.dev.example.com does not pass save validation. This differs from wildcard records in custom zones.

Enable Search Domains

Enable Search Domains distributes matched domains as endpoint DNS search domains; it does not expand the group of endpoints receiving the configuration. This option is used only in specified-domains mode.

For example, when the matched domain is dev.example.com, enabling search domains may cause an operating system to try git.dev.example.com for the short name git. Expansion, attempt order, and results depend on the operating system and application. Use complete domain names to verify critical business services and reduce ambiguity.

Unconfigured and Fallback Behavior

When no all-domains group is configured for an endpoint, ordinary domain names can normally still be resolved through its original DNS. This does not mean Zero Trust is uninvolved in all DNS resolution: endpoint names or other configured rules may still apply. Original DNS availability and system resolution paths depend on the endpoint environment; successful resolution of every query is not guaranteed.

A Zero Trust endpoint may use its original DNS as a fallback resolution source. Do not interpret fallback as a guarantee of seamless switching when the configured DNS is unreachable, or assume that enterprise names can never reach other resolvers. Verify actual behavior against the organization's DNS security requirements.

When all applicable upstreams fail: In some endpoint Zero Trust DNS resolution scenarios, if a query has been passed to the applicable nameserver groups and none obtains a valid response, that query returns a resolution failure; the failure alone does not cause it to continue to the endpoint's original DNS. Check the applicable groups, servers, network and DNS records rather than assuming the original DNS provides failover in this case. Operating-system or application resolvers and subsequent retries may behave differently; this does not guarantee that the domain will never be sent to another DNS server.

Verify DNS transport and multiple servers

The name-server group is configured as UDP, but a query does not necessarily use only UDP. In some endpoint Zero Trust DNS resolution scenarios, a truncated UDP response triggers a TCP retry to the same DNS server and port; an incoming TCP query may also use TCP upstream. Before deployment, confirm that both UDP and TCP access from the target endpoint to the configured address and port meet organizational network and access-control requirements. Test simple queries and larger responses separately. UDP reachability alone does not prove every query will complete.

When a group contains multiple servers, ensure that they provide consistent, expected answers for the applicable domains. On timeout or certain server errors, the client may try another server in the group. A domain-not-found response is a valid DNS answer and normally does not cause the next server in that group to be tried; some security-policy errors may also stop retries. Multiple groups applicable to the same domain may participate concurrently, so do not assume a particular group always responds first. If results differ, check each server's records, permissions, UDP/TCP connectivity, and endpoint configuration, then verify the actual application.

In some endpoint Zero Trust DNS resolution scenarios, servers within one group are tried in the order delivered. A valid answer from one server does not trigger a comparison with later servers. Retries have a total time limit, so not every server is guaranteed an attempt. After changing the order, save, recheck and test on actual endpoints; concurrent queries across different groups can still affect the result.

Edit, Disable, and Delete a Group

Before a change, record the current servers, resolution mode, matched domains, and scope; identify dependent endpoints and services and prepare a recovery plan. Disabling or deleting a group can change internal or external name resolution. Do not assume that endpoints will automatically switch to another working DNS server.

Changing resolution mode: Switching from specified domains to all domains immediately clears matched domains in the form and turns off search domains; switching back does not restore them. When editing an existing group without saving, cancel and reopen it to verify the saved configuration. After saving, restore values manually from the change record and verify them. Unsaved entries in a new group must also be entered again.

  1. Under Zero Trust > DNS > Nameserver Groups, find the group. Choose Edit in its row, adjust the configuration, and save. Recheck the servers, matched domains, effective scope, and status.

  2. To temporarily disable or re-enable it, use the row's status switch. Check the result and status again. The switch can be unavailable without write permission or while an update is in progress.

  3. When the group is no longer needed, choose Delete in its row, verify its name, and confirm Delete. Assess the impact and recovery plan first; deletion and editing can require different permissions.

  4. Allow affected endpoints to receive the change, then test affected fully qualified names and ordinary domain names from pilot endpoints. Also test short names if using search domains. A saved configuration or changed status does not prove all endpoints have applied it; results also depend on other settings and endpoint environments.

Verification and Troubleshooting

  1. Confirm the nameserver group is enabled, the endpoint is in its effective scope, and the endpoint is connected and has applied the current configuration.
  2. From the target endpoint, query full names both inside and outside the matched domain, and compare the results with expectations. Use domains the organization owns or is authorized to test.
  3. If using search domains, test short and full names separately. If a full name works but a short name does not, check the search-domain setting and whether the application follows operating-system resolver configuration.
  4. If the target domain does not resolve, check server IP, port, UDP and TCP connectivity, and DNS records. Also check whether the endpoint is excluded from DNS management.
  5. If ordinary names are affected, check whether all-domains mode is enabled and whether its DNS can resolve those names. Record the original configuration and assess the impact before changing it; contact an administrator or technical support if needed.

Updated

Search documentation