Modify NSX Edge DNS configuration information by command line or UI
search cancel

Modify NSX Edge DNS configuration information by command line or UI

book

Article ID: 370880

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

An error message may occur when attempting to edit the 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 Data Center
VMware NSX

Resolution

  • Log in to 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 the 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


  • Alternatvily you can change the DNS setting from the NSX UI,
    • Navigate to System > Fabric > Nodes
    • Select the box next to the Edge Node(s)
    • Click on Actions and then select "Change Node Settings"
    • Make sure to enter the IP and add a space so the IP looks like the one below before saving settings. 

Additional Information

Refer to the Configuring Appliances page of NSX documentation:

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