beautypg.com

Ip name-server, Ip name-server (1355) – LevelOne GTL-2691 User Manual

Page 1355

background image

C

HAPTER

45

| Domain Name Service Commands

– 1355 –

ip name-server

This command specifies the address of one or more domain name servers

to use for name-to-address resolution. Use the no form to remove a name

server from this list.

S

YNTAX

[no] ip name-server server-address1 [server-address2

server-address6]
server-address1 - IP address of domain-name server.
server-address2server-address6 - IP address of additional

domain-name servers.

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Global Configuration

C

OMMAND

U

SAGE

The listed name servers are queried in the specified sequence until a

response is received, or the end of the list is reached with no response.

E

XAMPLE

This example adds two domain-name servers to the list and then displays

the list.

Console(config)#ip name-server 192.168.1.55 10.1.0.55

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:

192.168.1.55

10.1.0.55

Console#

R

ELATED

C

OMMANDS

ip domain-name (1353)

ip domain-lookup (1352)