DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
24. Domain Name System (DNS) Commands
24-1
clear host
This command is used to clear the dynamically learned host entries in the privileged user mode.
clear host {all | [HOST-NAME]}
Parameters
all
HOST-NAME
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to delete a host entry or all host entries which are dynamically learned by the DNS
resolver or caching server.
Example
This example shows how to delete the dynamically entry "www.abc.com" from the host table.
Switch# clear host www.abc.com
Switch#
24-2
ip domain lookup
This command is used to enable the DNS to carry out the domain name resolution. Use the no form
of this command to disable the DNS domain name resolution function.
ip domain lookup
no ip domain lookup
Parameters
None.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Specifies to clear all host entries.
(Optional) Specifies to delete the specified dynamically learned host
entry.
217