How to modify the DNS configuration in a VMware Cloud Foundation deployment
search cancel

How to modify the DNS configuration in a VMware Cloud Foundation deployment

book

Article ID: 314950

calendar_today

Updated On:

Products

VMware Cloud Foundation

Issue/Introduction

This document provides instructions that can be used to modify the DNS configuration in a VMware Cloud Foundation environment. Individual records can be created, updated or deleted and the configuration of the DNS server itself can be changed.

Symptoms:


Resolution

Note: These steps must be completed on a Windows system with access to the management network (192.168.100.x).

The following steps are applicable to a VMware Cloud Foundation 2.1.x environment.
  1. SSH to the ISVM-1 virtual machine (192.168.100.43) as the root user.
Note: The password for the root user can be obtained by running the /home/vrack/bin/vrm-cli.sh --lookup-password command on the VRM VM.
  1. Disable the firewall by issuing the following command:
/opt/vmware/ism/scripts/ipsec/ipsecutil.py -c firewall-rules-delete
  1. Download ZooViewer from https://github.com/javaquery/zooviewer/releases/download/zooviewer-0.6/zooviewer-0.6.zip.
  2. Extract the contents of the zooviewer-0.6-bin.zip file.
  3. Execute the Run.bat file.
  4. In the "Enter the connection string" dialog that is presented, enter "192.168.100.43:2181".

    Note: It may take several minutes before the ZooKeeper data is fully populated.
The following steps are applicable to a VMware Cloud Foundation 2.2.0 environment.
  1. SSH to the SDDC Manager Controller VM as the root user.
  2. Disable the firewall by issuing the following command:

    systemctl stop iptables
     
  3. Download ZooViewer from https://github.com/javaquery/zooviewer/releases/download/zooviewer-0.6/zooviewer-0.6.zip.
  4. Extract the contents of the zooviewer-0.6-bin.zip file.
  5. Execute the Run.bat file.
  6. In the "Enter the connection string" dialog that is presented, enter "192.168.100.40:2181".

Note: It may take several minutes before the ZooKeeper data is fully populated.

The following steps are applicable to VMware Cloud Foundation 2.1 and 2.2.0 environments.
  1. Expand Rack, expand Primary, expand DNS, select unbound.conf.
  2. With the Node tab selected, make any needed changes in the Data pane.
  3. Click the Update button.
  4. Expand Rack, expand Primary, expand DNS, select reloadTime
  5. With the Node tab selected, click the Update button.
Note: It may take up to five minutes for the change to propagate to the SDDC Manager Controller VM and the SDDC Manager Utility VM. If an immediate change is needed, the same configuration change can be made in the local /etc/unbound/unbound.conf file on the SDDC Manager Controller VM and the unbound configuration reloaded via the systemctl reload unbound command.

Note: Enable the firewall by issuing the /opt/vmware/ism/scripts/ipsec/ipsecutil.py -c firewall-rules-create command on the VRM virtual machine (2.1) or the systemctl start iptables command on the SDDC Manager Controller virtual machine (2.2.0).


The following steps are applicable to VMware Cloud Foundation 2.2.1 and beyond:
  1. SSH to the SDDC Manager Controller VM as the root user.
  2. Open the /etc/unbound/unbound.conf file with a text editor.
  3. Make any needed changes and then save and close the file.
  4. Reload the updated configuration file by issuing the systemctl reload unbound command.


Additional Information

Impact/Risks:
Some or all of the VMware Cloud Foundation environment could be rendered inaccessible if mistakes are mode.