Configure DNS name resolution for vCenter access

To access the vCenter server on a VMware Engine private cloud from on-premises workstations, you must configure DNS address resolution so that the vCenter server can be addressed by hostname and IP address.

Obtain the IP address of the DNS server for your private cloud

  1. Access the Google Cloud VMware Engine portal
  2. Navigate to Resources > Private clouds and select the private cloud you want to connect to.
  3. On the Summary page for the private cloud, under Private cloud DNS servers, click Copy to copy the private cloud DNS server IP address.

Use either of these options for the DNS configuration:

Create a zone on the DNS server for gve.goog

You can set up a zone as a stub zone and point to the DNS servers on the private cloud for name resolution. This section provides information on using a BIND DNS server or a Microsoft Windows DNS server.

Create a zone on a BIND DNS server

The specific file and parameters to configure can vary based on your individual DNS setup.

For example, for the default BIND server configuration, edit the /etc/named.conf file on your DNS server and add the following zone information:

zone "gve.goog"
{
    type stub;
    masters { IP address of DNS servers; };
    file "slaves/gve.goog.db";
};

Create a zone on a Microsoft Windows DNS server

  1. Right-click the DNS server and select New zone.
  2. Select Stub zone and click Next.
  3. Select the appropriate option depending on your environment and click Next.
  4. Select Forward lookup zone and click Next.
  5. Enter the zone name and click Next.
  6. Enter the IP addresses of the DNS servers for your private cloud that you obtained from the VMware Engine portal.
  7. Click Next as needed to complete the setup.

Create a conditional forwarder

A conditional forwarder sends all DNS name resolution requests to the designated server. With this setup, any request to *.gve.goog is forwarded to the DNS servers located on the private cloud. The following examples show how to set up forwarders on different types of DNS servers.

Create a conditional forwarder on a BIND DNS server

The specific file and parameters to configure can vary based on your individual DNS setup.

For example, for the default BIND server configuration, edit the /etc/named.conf file on your DNS server and add the following conditional forwarding information:

zone "gve.goog" {
    type forward;
    forwarders { IP address of DNS servers; };
};

Create a conditional forwarder on a Microsoft Windows DNS server

  1. Open the DNS Manager on the DNS server.
  2. Right-click Conditional forwarders and select the option to add a conditional forwarder.
  3. Enter the DNS domain and the IP address of the DNS servers in the private cloud, then click OK.

What's next