Set a DNS server to allow the compute gateway and workload VMs to resolve fully-qualified domain names (FQDNs) to IP addresses.


  1. Log in to the VMC Console at
  2. Click View Details on the SDDC card.
  3. Click Network.
  4. Under Compute Gateway, click DNS.
  5. Click Edit and enter the IP addresses for DNS Server 1 and, optionally, DNS Server 2.

    Both DNS servers must be able to resolve all intended FQDNs. Do not add one public DNS server and one private (on-premises) DNS server. If you do, FQDN resolution becomes unpredictable.

What to do next

If you have configured private DNS servers and you are using a non-default logical network for the compute gateway that uses DHCP, configure your compute gateway VPN to allow DNS requests over the VPN tunnel. Select cgw-dns-network as one of the local networks for the VPN. See Create a Compute VPN.