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
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | UCS-A# scope system | Enters system mode. |
| Step 2 | UCS-A /system # scope services | Enters system services mode. |
| Step 3 | UCS-A /system/services # create dns ip-addr | Configures the system to use the DNS server with the specified IP address. |
| Step 4 | UCS-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
| Command or Action | Purpose | |
|---|---|---|
| Step 1 | UCS-A# scope system | Enters system mode. |
| Step 2 | UCS-A /system # scope services | Enters system services mode. |
| Step 3 | UCS-A /system/services # delete dns ip-addr | Deletes the NTP server with the specified IP address. |
| Step 4 | UCS-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 #
Feedback