![Accton Technology ES4512C Management Manual Download Page 307](http://html.mh-extra.com/html/accton-technology/es4512c/es4512c_management-manual_455815307.webp)
DNS Commands
4-117
4
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.
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
Table 4-39. DNS Commands
Command
Function
Mode Page
ip host
Creates a static host name-to-address mapping
GC
4-117
clear host
Deletes entries from the host name-to-address table
PE
4-118
ip domain-name
Defines a default domain name for incomplete host names
GC
4-118
ip domain-list
Defines a list of default domain names for incomplete host names GC
4-119
ip name-server
Specifies the address of one or more name servers to use for host
name-to-address translation
GC
4-120
ip domain-lookup
Enables DNS-based host name-to-address translation
GC
4-121
show hosts
Displays the static host name-to-address mapping table
PE
4-122
show dns
Displays the configuration for DNS services
PE
4-123
show dns cache
Displays entries in the DNS cache
PE
4-123
clear dns cache
Clears all entries from the DNS cache
PE
4-124
Summary of Contents for ES4512C
Page 2: ......
Page 4: ...ES4512C ES4524C ES4548C E052005 R02 ...
Page 16: ...Contents xii ...
Page 22: ...Figures xviii ...
Page 30: ...Introduction 1 8 1 ...
Page 190: ...Configuring the Switch 3 152 3 ...
Page 408: ...Command Line Interface 4 218 4 ...
Page 412: ...Software Specifications A 4 A ...
Page 425: ......