> Source: [sk184301](https://support.checkpoint.com/results/sk/sk184301)

# sk184301 - DNS resolution failure on a VSX Gateway with "DNS mode per-vs" enabled after upgrade to R82 

| Property | Value |
|----------|-------|
| Solution ID | sk184301 |
| Date Created | 2025-11-10 |
| Last Modified | 2025-11-12 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82 |
| OS | Gaia |

## Symptoms

- * After upgrading to R82, DNS resolution fails on a Virtual System Extension Gateway (VSX Gateway) with "DNS mode per-vs" enabled.

  Note: "DNS mode per-vs" allows you to configure DNS settings individually for each Virtual System (VS) on a VSX Gateway.
* Security Gateway traffic logs display `Connection Alert` during load testing.

* Applications experience timeouts when accessing services through the Security Gateway.

* URL Filtering logs show `RAD error: could not resolve host name`.

* The VSX Gateway cannot resolve external domains (examples: cws.checkpoint.com, google.com).

* Direct connectivity to IP addresses works, but DNS resolution fails.

* The `nslookup` command fails to resolve hostnames unless a specific DNS server is manually specified.

* The `dnsmasq` process for VSs does not start because of invalid configuration file paths.

* Adding a DNS server to the `/etc/resolv.conf` file as a workaround restores DNS resolution.

  <br />

## Cause

During the upgrade to R82, the active configuration for "DNS mode per-vs" was not built correctly.

The `dnsmasq` process for each VS was configured with invalid or non-existent file paths for its binary, `dnsmasq.conf` file, and `resolv.conf` file (for example, `/opt/CPshrd-R82/CTX/CTX00000/dns` for VS0, which does not exist).

As a result, the `dnsmasq` service could not start for the affected VSs, causing DNS resolution failures, application timeouts, and connection alerts in the Security Gateway logs.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
