Dns Commands; Ip Host - Edge-Core ES3628C Management Manual

24 10/100 ports + 4ge intelligent layer 2/3/4 fast ethernet switch
Table of Contents

Advertisement

4
Command Line Interface

DNS Commands

These commands are used to configure Domain Naming System (DNS) services.
You can manually configure entries in the DNS domain name to IP address mapping
table, configure default domain names, or specify one or more name servers to use
for domain name to address translation.
Note that domain name services will not be enabled until at least one name server is
specified with the ip name-server command and domain lookup is enabled with the
ip domain-lookup command.
Command

ip host

clear host
ip domain-name
ip domain-list
ip name-server
ip domain-lookup
show hosts
show dns
show dns cache
clear dns cache
ip host
This command creates a static entry in the DNS table that maps a host name to an
IP address. Use the no form to remove an entry.
Syntax
[no] ip host name address1 [address2 ... address8]
• name - Name of the host. (Range: 1-64 characters)
• address1 - Corresponding IP address.
• address2 ... address8 - Additional corresponding IP addresses.
Default Setting
No static entries
Command Mode
Global Configuration
4-136
Table 4-46 DNS Commands
Function
Creates a static host name-to-address mapping
Deletes entries from the host name-to-address table
Defines a default domain name for incomplete host names
Defines a list of default domain names for incomplete host names GC
Specifies the address of one or more name servers to use for host
name-to-address translation
Enables DNS-based host name-to-address translation
Displays the static host name-to-address mapping table
Displays the configuration for DNS services
Displays entries in the DNS cache
Clears all entries from the DNS cache
Mode Page
GC
4-136
PE
4-137
GC
4-137
4-138
GC
4-139
GC
4-140
PE
4-141
PE
4-141
PE
4-142
PE
4-142

Advertisement

Table of Contents
loading

Table of Contents