DNS COMMANDS

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-servercommand and domain lookup is enabled with the ip domain-lookupcommand

Table 4-31. DNS Commands

Command

Function

Mode

Page

ip host

Creates a static host name-to-address

GC

4-158

 

mapping

 

 

 

 

 

 

clear host

Deletes entries from the host

PE

4-159

 

name-to-address table

 

 

 

 

 

 

ip domain-name

Defines a default domain name for

GC

4-159

 

incomplete host names

 

 

 

 

 

 

ip domain-list

Defines a list of default domain names for

GC

4-160

 

incomplete host names

 

 

 

 

 

 

ip name-server

Specifies the address of one or more name

GC

4-162

 

servers to use for host name-to-address

 

 

 

translation

 

 

 

 

 

 

ip domain-lookup

Enables DNS-based host name-to-address

GC

4-163

 

translation

 

 

 

 

 

 

show hosts

Displays the static host name-to-address

PE

4-164

 

mapping table

 

 

 

 

 

 

show dns

Displays the configuration for DNS services

PE

4-165

 

 

 

 

show dns cache

Displays entries in the DNS cache

PE

4-165

 

 

 

 

clear dns cache

Clears all entries from the DNS cache

PE

4-166

 

 

 

 

4-157

Page 401
Image 401
SMC Networks SMC8624/48T manual DNS Commands