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 domain-name-of-organization

3.domain name-server ipv4-address

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 domain-name-of-organization

Defines a default domain name used to complete

 

 

unqualified hostnames.

 

Example:

 

 

RP/0/RP0/CPU0:router(config)# domain name

 

 

cisco.com

 

Step 3

 

 

domain name-server ipv4-address

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.

 

name-server 192.168.1.111

 

 

 

 

 

Cisco IOS XR Getting Started Guide

5-104

OL-14361-01

Page 2
Image 2
Cisco Systems OL-14361-01 manual Command or Action Purpose, Example, 104, Configure, Domain name-server ipv4-address