--- title: "Working with the DNS Relay Service" slug: "working-with-the-dns-relay-service" tags: ["Access"] status: "update" updated: 2026-11-22T13:24:02Z published: 2026-11-22T13:24:02Z canonical: "knowledge.catonetworks.com/working-with-the-dns-relay-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.catonetworks.com/llms.txt > Use this file to discover all available pages before exploring further. # Working with the DNS Relay Service The DNS Relay service is a helper service of the Cato Client, running on the endpoint, and it's automatically installed in the background when you implement a [Split Tunnel policy](/v1/docs/routing-with-the-cato-client-split-tunnel-policy). It lets you control how DNS requests from a device are handled so you can steer traffic through the correct network path. DNS Relay intercepts DNS requests locally and determines whether each request should be resolved using the Cato-configured DNS server, the local device DNS server, or a DNS server reachable through another interface. After the request is resolved, DNS Relay can update the routing table for the destination domain so that subsequent traffic follows the correct route. ![Managed_Device_Coexistence_with_VPN.png](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/34698140180893.png?sv=2026-02-06&spr=https&st=2026-11-23T11%3A08%3A42Z&se=2026-11-23T12%3A08%3A42Z&sr=b&sp=r&sig=%2BpKNDZacy3nbf8xarByLipI0hc4Mgk%2FJxCKAunbfpSo%3D) Using DNS Relay, you can define a default routing behavior for all traffic and then configure exclusions for specific DNS queries and destination traffic that should bypass that default route. For example, if all traffic is routed to the Cato Cloud by default, DNS Relay can process excluded DNS requests and ensure that traffic for those destinations is sent outside the tunnel to the appropriate location. This approach enables precise, domain-based traffic steering while maintaining consistent routing and policy enforcement. > [!TIP] > Note: > > The DNS Relay service is available for Windows Client v5.20.2 and macOS Client v6.3.1 or higher ## Use Case - Cato Internet Security Coexists with a Third-Party VPN using DNS Relay ABC Company allows remote employees to access internal resources located in their corporate WAN through a third-party VPN. At the same time, all Internet and SaaS traffic must be routed through the Cato Cloud using the Cato Client. To enforce this policy, the Cato Client is configured as Always-On, while the third-party VPN is enabled only when the user needs access to internal WAN resources. When the user connects to the third-party VPN, the operating system creates a new network interface and associated routes. The DNS Relay service detects this change and adjusts how DNS requests are handled to ensure traffic continues to follow the correct path. When the user sends a DNS request for an internal server accessible via the 3rd-party VPN, DNS Relay intercepts the request and determines that the destination should be resolved using the 3rd-party DNS server. The request is forwarded through the VPN interface, and subsequent traffic to the database is routed through the 3rd-party VPN. When the user sends a DNS request for Salesforce, which is a SaaS web application, DNS Relay determines that the request should be resolved using the Cato-configured DNS server. The DNS request is forwarded through the Cato Client, and traffic to Salesforce is routed through the Cato Cloud. This configuration allows ABC Company to use the third-party VPN for access to internal WAN resources while ensuring that Internet and SaaS traffic remains secured and inspected by the Cato Cloud. ## Use Case: Securing Only Specific Destinations with the Cato Client ABC Company allows remote employees to access most Internet destinations directly using their local network connection. However, traffic to certain corporate applications and sensitive SaaS services must be secured and inspected through the Cato Cloud. To enforce this policy, admins configure the Cato Client to secure only specific destinations while allowing all other traffic to use the local Internet connection. When the user connects to the network, the Cato Client is active, and the DNS Relay service intercepts DNS requests. DNS Relay evaluates each request and determines whether the destination should be resolved using the Cato-configured DNS server or the local device DNS server. When the user sends a DNS request for a corporate application that must be secured, DNS Relay forwards the request through the Cato Client, and traffic to the destination is routed through the Cato Cloud. For other Internet destinations, DNS Relay uses the local DNS server, and traffic is sent directly through the user's local Internet connection. This configuration allows ABC Company to secure specific applications through the Cato Cloud while allowing other Internet traffic to bypass the tunnel and go directly to the destination. ## Configure the DNS Relay Service Windows Registry Settings To use DNS Relay service for Windows Clients, the following Windows registry keys control how DNS Relay manages DNS requests, selects DNS servers, and responds to network interface changes. The registry keys are DWORD type, and the registry path is `HKEY_LOCAL_MACHINE\SOFTWARE\CatoNetworksVPN\` | Registry Key | Description | Values | | --- | --- | --- | | DnsRelayUseAllInterfaces | Controls whether DNS Relay collects on-prem DNS servers from all network interfaces on the device | 0 – Collect DNS servers only from physical interfaces (PhysicalAdapter) 1 – Collect DNS servers from all interfaces | | DnsRelayBindingStrategy | Controls which network interface DNS Relay binds to when forwarding a DNS query to an on-prem DNS server | 0 – Bind to the physical interface used by the tunnel (PhysicalAdapter) 1 – Bind to the interface where the DNS server is configured (Interface) 2 – Bind to the interface selected by the best route (BestRoute) | | DnsRelayUpdateOnAdapterChange | Controls whether DNS Relay updates its configuration when a network interface changes This is required when working with 3rd party VPNs that you might turn on and off. | 0 – Do not update DNS Relay when interface changes occur (Disabled) 1 – Update DNS Relay when an interface changes (Enabled) | ## Configuring DNS Relay on macOS Clients On macOS, DNS Relay is implemented as a DNS proxy extension. The extension is installed under Network Filters and Proxies when the Split Tunnel configuration requires DNS suffix or FQDN-based routing. > [!TIP] > **IMPORTANT** > > You need to add the system extension for DNS Relay to the [Intune macOS package](/v1/docs/deploy-the-cato-client-with-intune-macos). Otherwise, the device user is shown a pop-up message requesting permission to allow the extension. DNS Relay does not change the DNS server assigned to the Client interface. The Client continues to use the Cato DNS server or the DNS server configured by the DNS Settings policy. DNS Relay helps determine how DNS requests are resolved and assists with dynamic routing updates for FQDN-based destinations. The Client only deploys DNS Relay on the device when users that match the Split Tunnel policy use DNS suffixes or FQDN-based destinations. If a user doesn’t match these items in the policy, the Client doesn’t install the DNS proxy extension. ### Prerequisites To use DNS Relay and Split Tunnel routing for macOS Clients, make sure that: - The macOS Client is version 6.3.1 or higher - One-time: users allow the DNS system extension ### Deploying macOS Clients for DNS Relay with Intune Use Intune or any Apple-approved MDM to deploy macOS Clients with DNS Relay enabled on macOS devices. For more information, see this [article](/v1/docs/deploy-the-cato-client-with-intune-macos). ### Confirm DNS Relay on the macOS Endpoint You can confirm that DNS Relay is enabled on the macOS endpoint from the Client and from the macOS network settings. In the Client, the Settings page indicates whether the **DNS System Extension** is **Allowed**. ![Client_DNS](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/Client_DNS.png?sv=2026-02-06&spr=https&st=2026-11-23T11%3A08%3A42Z&se=2026-11-23T12%3A08%3A42Z&sr=b&sp=r&sig=D0r5tlJ38ZSkCHz%2BxbUhvzYMVkEeyTHRTsmSXEP%2BkMI%3D) In macOS, the DNS proxy extension appears under **Network > VPN & Filters** and is enabled when the Split Tunnel configuration requires it. ![macOS_DNS](https://cdn.document360.io/81d0367c-2b69-4ba8-b412-1c8f46ce677e/Images/Documentation/macOS_DNS.png?sv=2026-02-06&spr=https&st=2026-11-23T11%3A08%3A42Z&se=2026-11-23T12%3A08%3A42Z&sr=b&sp=r&sig=1oCWjyTWEkNg9l3loA%2BLi4KKAxA1dthqZqjLjJee3%2BA%3D) ## Article Changelog | Date | Description | | --- | --- | | Nov 22, 2026 | Added support for macOS Clients | | | |