Set ip dns server – 3Com WXR100 3CRWXR10095A User Manual

Page 224

Advertising
background image

224

C

HAPTER

7: IP S

ERVICES

C

OMMANDS

Aliases take precedence over DNS. When you enter a hostname, MSS checks
for an alias with that name first, before using DNS to resolve the name.

Examples — The following command configures the default domain
name example.com:

WX1200# set ip dns domain example.com

Domain name changed

See Also

„

clear ip dns domain on page 187

„

clear ip dns server on page 187

„

display ip dns on page 202

„

set ip dns on page 223

„

set ip dns server on page 224

set ip dns server

Specifies a DNS server to use for resolving hostnames you enter in CLI
commands.

Syntax

set ip dns server

ip-addr {primary | secondary}

„

ip-addr

— IP address of a DNS server, in dotted decimal or CIDR

notation.

„

primary

— Makes the server the primary server, which MSS always

consults first for resolving DNS queries.

„

secondary

— Makes the server a secondary server. MSS consults a

secondary server only if the primary server does not reply.

Defaults — None.

Access — Enabled.

Usage — You can configure a WX to use one primary DNS server and up
to five secondary DNS servers.

Examples — The following commands configure a WX to use a primary
DNS server and two secondary DNS servers:

WX1200# set ip dns server 10.10.10.50/24 primary

success: change accepted.

WX1200# set ip dns server 10.10.20.69/24 secondary

Advertising
This manual is related to the following products: