beautypg.com

Clear host, Show dns – LevelOne GTL-2691 User Manual

Page 1357

background image

C

HAPTER

45

| Domain Name Service Commands

– 1357 –

clear host

This command deletes dynamic entries from the DNS table.

S

YNTAX

clear host {name | *}

name - Name of the host. (Range: 1-100 characters)
* - Removes all entries.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

Use the clear host command to clear dynamic entries, or the

no

ip host

command to clear static entries.

E

XAMPLE

This example clears all dynamic entries from the DNS table.

Console(config)#clear host *

Console(config)#

show dns

This command displays the configuration of the DNS service.

C

OMMAND

M

ODE

Privileged Exec

E

XAMPLE

Console#show dns

Domain Lookup Status:

DNS enabled

Default Domain Name:

sample.com

Domain Name List:

sample.com.jp

sample.com.uk

Name Server List:

192.168.1.55

10.1.0.55

Console#