Modify NSX Edge DNS configuration information by command line
search cancel

Modify NSX Edge DNS configuration information by command line

book

Article ID: 370880

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

An error message may occur when attempting to Edit Settings of an NSX Edge server, preventing the user from making modifications to DNS Servers. 

An example error message when trying to "Change Node Settings" for a given edge server might state: 

 [Fabric] Network Interface '<UUID> is either an overlay logical switch or in an unacessible Transport zone. Only accessible VLAN logical switches are supported. (Error code: 16031)




Environment

VMware NSX-T 3.x

VMware NSX 4.x

VMware NSX for vSphere

Resolution

  • Log into the Edge server with SSH as admin. If logged in as root, type: su admin
  • Run this command to check the current DNS IPs:  get name-servers
  • To add a new name server, run this command: set name-server <DNS_IP>
     *Note that only 3 may be configured at a time, so deletions may need to be done first to make space
  • To remove an unwanted DNS server, use command:  del name-server <DNS_IP>
  • Once changes are complete, sync the Edge settings in the NSX Manager UI.
    • Navigate to System > Fabric > Nodes
    • Select the box next to the Edge Node(s)
    • Click on Actions and then select Sync Edge Configuration

Additional Information

Refer to the Configuring Appliances page of NSX documentation at https://docs.vmware.com/en/VMware-NSX/4.1/administration/GUID-5B91BE88-FEA7-4DAA-A819-66800C3B00E6.html 

If you are contacting Broadcom support about this issue, please provide the following:

  • NSX Edge log bundles for affected Edges in the Edge Cluster
  • Ensure log date range covers the full date of the event(s) being investigated. When in doubt, retrieve logs for all time.
  • NSX Manager log bundles
  • ESXi host log bundles for all hosts supporting affected Edge VMs
  • Text of any error messages seen in NSX GUI or command lines pertinent to the investigation

Handling Log Bundles for offline review with Broadcom support