NSX CLI Guide

Associated Commands:

CLI Description Command

Clear all name servers


Clear all name servers from the DNS configuration.
clear name-servers

Clear search domains


Remove all domain names from the DNS search list.
clear search-domains

Delete name server


Delete the specified name server from the DNS configuration.
del name-server <name-server-arg>

Delete a domain name


Delete the specified domain name from the DNS search list.
del search-domains <search-domain-arg>

Get all name servers


Get all name servers in the DNS configuration.
get name-servers

Get all search domains


Get all domain names in the DNS search list.
get search-domains

Add name server


Add a name server to the DNS configuration.
set name-servers <name-server-arg>

Add a domain name


Add a domain name to the DNS search list.
set search-domains <search-domain-arg>

Total commands: 8