beautypg.com

Ip domain-lookup – LevelOne GTL-2691 User Manual

Page 1352

background image

C

HAPTER

45

| Domain Name Service Commands

– 1352 –

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

Domain names are added to the end of the list one at a time.

When an incomplete host name is received by the DNS service on this

switch, it will work through the domain list, appending each domain

name in the list to the host name, and checking with the specified

name servers for a match.

If there is no domain list, the domain name specified with the

ip

domain-name

command is used. If there is a domain list, the default

domain name is not used.

E

XAMPLE

This example adds two domain names to the current list and then displays

the list.

Console(config)#ip domain-list sample.com.jp

Console(config)#ip domain-list sample.com.uk

Console(config)#end

Console#show dns

Domain Lookup Status:

DNS disabled

Default Domain Name:

sample.com

Domain Name List:

sample.com.jp

sample.com.uk

Name Server List:

Console#

R

ELATED

C

OMMANDS

ip domain-name (1353)

ip domain-lookup

This command enables DNS host name-to-address translation. Use the no

form to disable DNS.

S

YNTAX

[no] ip domain-lookup

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

At least one name server must be specified before DNS can be enabled.