Ip domain-name – Microsens MS453490M Management Guide User Manual

Page 903

Advertising
background image

C

HAPTER

39

| Domain Name Service Commands

– 903 –

If all name servers are deleted, DNS will automatically be disabled.

E

XAMPLE

This example enables DNS and then displays the configuration.

Console(config)#ip domain-lookup

Console(config)#end

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#

R

ELATED

C

OMMANDS

ip domain-name (903)

ip name-server (905)

ip domain-name

This command defines the default domain name appended to incomplete

host names (i.e., host names passed from a client that are not formatted

with dotted notation). Use the no form to remove the current domain

name.

S

YNTAX

ip domain-name name
no ip domain-name

name - Name of the host. Do not include the initial dot that

separates the host name from the domain name.

(Range: 1-127 characters)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

E

XAMPLE

Console(config)#ip domain-name sample.com

Console(config)#end

Console#show dns

Domain Lookup Status:

DNS Disabled

Default Domain Name:

sample.com

Domain Name List:

Advertising