80
Cisco ASR 9000 Series Aggregation Services Router Getting Started Guide
OL-28417-02
Chapter Configuring Additional Router Features
Configuring the Domain Name and Domain Name Server
To configure the DNS and DNS server, follow these steps:
SUMMARY STEPS
1. configure
2. domain name domain-name-of-organization
3. domain name-server ipv4-address
4. end or commit
5. show hosts
DETAILED STEPS
Command or Action Purpose
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Enters global configuration mode.
Step 2
domain name domain-name-of-organization
Example:
RP/0/RSP0/CPU0:router(config)# domain name
cisco.com
Defines a default domain name used to complete
unqualified hostnames.
Step 3
domain name-server ipv4-address
Example:
RP/0/RSP0/CPU0:router(config)# domain
name-server 192.168.1.111
Specifies the address of a name server to use for name and
address resolution (hosts that supply name information).
Note You can enter up to six addresses, but only one for
each command.
Step 4
end
or
commit
Example:
RP/0/RSP0/CPU0:router(config)# end
or
RP/0/RSP0/CPU0:router(config)# commit
Saves configuration changes.
• When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
–
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
–
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
–
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
• Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.