Cisco UCS Manager CLI Configuration Guide, Release 1.2(1)
Configuring DNS Servers

Configuring DNS Servers

This chapter includes the following sections:

DNS Servers in Cisco UCS

You need to specify an external DNS server for each Cisco UCS instance to use if the system requires name resolution of hostnames. For example, you cannot use a name such as www.cisco.com when you are configuring a setting on a fabric interconnect if you do not configure a DNS server. You would need to use the IP address of the server.

Configuring a DNS Server

Procedure
 Command or ActionPurpose
Step 1UCS-A# scope system  

Enters system mode.

 
Step 2UCS-A /system # scope services  

Enters system services mode.

 
Step 3UCS-A /system/services # create dns ip-addr  

Configures the system to use the DNS server with the specified IP address.

 
Step 4UCS-A /system/services # commit-buffer  

Commits the transaction to the system configuration.

 

The following example configures a DNS server with the IP address 192.168.200.105 and commits the transaction:

UCS-A# scope system
UCS-A /system # scope services
UCS-A /system/services # create dns 192.168.200.105
UCS-A /system/services* # commit-buffer
UCS-A /system/services # 

Deleting a DNS Server

Procedure
 Command or ActionPurpose
Step 1UCS-A# scope system  

Enters system mode.

 
Step 2UCS-A /system # scope services  

Enters system services mode.

 
Step 3UCS-A /system/services # delete dns ip-addr  

Deletes the NTP server with the specified IP address.

 
Step 4UCS-A /system/services # commit-buffer  

Commits the transaction to the system configuration.

 

The following example deletes the DNS server with the IP address 192.168.200.105 and commits the transaction:

UCS-A# scope system
UCS-A /system # scope services
UCS-A /system/services # delete dns 192.168.200.105
UCS-A /system/services* # commit-buffer
UCS-A /system/services #