Command Line Interface
4-290
4
Domain Name Service Commands
These commands are used to configure Domain Naming System (DNS) services.
Entries can be manually configured in the DNS domain name to IP address mapping
table, default domain names configured, or one or more name servers specified 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-92 DNS Commands
Command
Function
Mode Page
ip host
Creates a static host name-to-address mapping
GC
4-290
clear host
Deletes entries from the host name-to-address table
PE
4-291
ip domain-name
Defines a default domain name for incomplete host names
GC
4-291
ip domain-list
Defines a list of default domain names for incomplete host names GC
4-292
ip name-server
Specifies the address of one or more name servers to use for host
name-to-address translation
GC
4-293
ip domain-lookup
Enables DNS-based host name-to-address translation
GC
4-294
show hosts
Displays the static host name-to-address mapping table
PE
4-295
show dns
Displays the configuration for DNS services
PE
4-295
show dns cache
Displays entries in the DNS cache
PE
4-296
clear dns cache
Clears all entries from the DNS cache
PE
4-296
Содержание 8126PL2-F
Страница 1: ...MANAGEMENT GUIDE ta TigerSwitchTM 10 100 1000 L2 Lite SMB PoE Gigabit Switch SMC8126PL2 F ...
Страница 2: ......
Страница 6: ...vi ...
Страница 22: ...Contents xxii ...
Страница 26: ...Tables xxvi ...
Страница 48: ...Initial Configuration 2 10 2 ...
Страница 117: ...User Authentication 3 69 3 Web Click Security AAA Summary Figure 3 43 AAA Accounting Summary ...
Страница 590: ...Command Line Interface 4 302 4 ...
Страница 604: ...Glossary Glossary 8 ...
Страница 612: ...Index 8 Index ...
Страница 613: ......
Страница 614: ...149100000023A R01 SMC8126PL2 F ...