Chapter 5 Configuring Additional Router Features
Configuring the Domain Name and Domain Name Server
To configure the DNS and DNS server, complete the following steps:
SUMMARY STEPS
1.configure
2.domain name
3.domain
4.commit or end
5.show hosts
DETAILED STEPS
| Command or Action | Purpose |
Step 1 |
|
|
configure | Enters global configuration mode. | |
| Example: |
|
| RP/0/RP0/CPU0:router# configure |
|
Step 2 |
|
|
domain name | Defines a default domain name used to complete | |
|
| unqualified hostnames. |
| Example: |
|
| RP/0/RP0/CPU0:router(config)# domain name |
|
| cisco.com |
|
Step 3 |
|
|
domain | Specifies the address of a name server to use for name and | |
|
| address resolution (hosts that supply name information). |
| Example: | Note You can enter up to six addresses, but only one for |
| RP/0/RP0/CPU0:router(config)# domain | each command. |
|
| |
|
|
|
| Cisco IOS XR Getting Started Guide |
|