Domain Name Server (Dns) Settings - Cisco SCE 8000 10GBE Software Configuration Manual

Table of Contents

Advertisement

Chapter 6
Global Configuration

Domain Name Server (DNS) Settings

When a name of a host is given as a parameter to a CLI command that expects a host name or an IP
address, the system translates the name to an IP address according to the following:
1.
2.
3.
4.
The following commands are relevant to DNS settings:
Configuring DNS Lookup
How to Enable DNS Lookup
From the SCE(config)# prompt, type:
Command
ip domain-lookup
How to Disable DNS Lookup
From the SCE(config)# prompt, type:
Command
no ip domain-lookup
OL-30621-02
Configuring DNS Lookup, page 6-17
Configuring Name Servers, page 6-18
How to Add a Host to the Host Table, page 6-19
How to Display Current DNS Settings, page 6-19
If the name is in a dotted decimal notation (that is, in the format x.x.x.x), it is directly translated to
an IP address it represents.
If the name does not contain the dot character (.), the system looks it up in the IP Host table. If the
name is found on the table, it is mapped to the corresponding IP address. The IP host table can be
configured using the command ip host.
If the name does not contain the dot (.) character, and the domain name function is enabled (See the
ip domain-lookup command), and a default domain name is specified (See the ip domain-name
command), the default domain name is appended to the given name to form a fully qualified host
name. This, in turn, is used to perform a DNS query translating the name to an IP address.
Otherwise, if the domain name function is enabled, the name is considered to be fully qualified, and
is used to perform a DNS query translating the name to an IP address.
ip name-server
ip domain-name
no ip domain-name
ip domain-lookup
show hosts
Domain Name Server (DNS) Settings
Purpose
Enables DNS lookup.
Purpose
Disables DNS lookup.
Cisco SCE 8000 10GBE Software Configuration Guide
6-17

Advertisement

Table of Contents
loading

Table of Contents