Configuring dns, Defining a domain name, Defining dns servers – Brocade Virtual ADX Administration Guide (Supporting ADX v03.1.00) User Manual

Page 40: Configuring dns resolver

Advertising
background image

28

Brocade Virtual ADX Administration Guide

53-1003249-01

Configuring DNS

1

tcp-max-sockets 65000 200000 65000

Syntax: show default values

Configuring DNS

This section contains information on configuring DNS.

Defining a domain name

You can define a domain name for a range of addresses on the Brocade Virtual ADX. This will
eliminate the need for a user to type in the domain name. It will automatically be appended to the
hostname.

To define a domain name, enter a command such as the following.

Virtual ADX(config)#ip dns domain-name brocade.com

Syntax: [no] ip dns domain-name name

Defining DNS servers

You can define up to four DNS servers for each DNS entry. The first entry serves as the primary
default address (10.95.6.199). If a query to the primary address fails to be resolved after three
attempts, the next gateway address will be queried for three times as well. This process will
continue for each defined gateway address until a query is resolved. The order in which the default
gateway addresses are polled is tied to the order in which they are entered when initially defined as
shown in the example.

To define DNS servers, enter a command such as the following.

Virtual ADX(config)#ip dns server-address 10.95.6.199 10.96.7.1 10.95.7.25

Syntax: [no] ip dns server-address ip-addr

Configuring DNS Resolver

The Domain Name Server (DNS) Resolver feature allows you to use just a host name rather than a
fully-qualified domain name when you use Telnet, ping, and trace-route commands.

To configure the feature, you specify the domain name, then specify the IP addresses of up to four
DNS servers that have authority for the domain.

For example, if you define the domain “example2.com” on a Brocade Virtual ADX, you can initiate a
ping to a host on that domain by specifying only the host name in the command. You do not need to
specify the host’s entire domain name.

As an example, here are two CLI commands.

Virtual ADX#ping example2

Virtual ADX#ping example2.com

The first command uses only the host name. The second command uses the fully-qualified domain
name for the host.

Advertising