Configuring domain name server (dns) resolver, Defining a dns, Entry – Brocade BigIron RX Series Configuration Guide User Manual

Page 254: Configuring an, Interface as the source for syslog packets, Defining a dns entry, Defining a domain list

Advertising
background image

176

BigIron RX Series Configuration Guide

53-1002484-04

Configuring IP parameters

7

!

interface tunnel 1

port-name ManualTunnel1

tunnel mode ipv6ip

tunnel source loopback 1

tunnel destination 2.1.1.1

ipv6 address fe80::3:4:2 link-local

ipv6 address 1011::1/64

ipv6 address 1001::1/64

ipv6 ospf area 0

Configuring Domain Name Server (DNS) resolver

The DNS resolver lets you use a host name to perform Telnet, ping, and traceroute commands. You
can also define a DNS domain on a device and thereby recognize all hosts within that domain. After
you define a domain name, the device automatically appends the appropriate domain to the host
and forwards it to the domain name server.

For example, if the domain “newyork.com” is defined on a device and you want to initiate a ping to
host “NYC01” on that domain, you need to reference only the host name in the command instead
of the host name and its domain name. For example, you could enter either of the following
commands to initiate the ping.

BigIron RX# ping nyc01

BigIron RX# ping nyc01.newyork.com

Defining a DNS entry

You can define up to four DNS servers for each DNS entry. The first entry serves as the primary
default address. If a query to the primary address fails to be resolved after three attempts, the next
gateway address is queried (also up to three times). This process continues for each defined
gateway address until the query is resolved. The order in which the default gateway addresses are
polled is the same as the order in which you enter them.

Suppose you want to define the domain name of newyork.com on a device and then define four
possible default DNS gateway addresses. To do so, enter the following commands.

BigIron RX(config)# ip dns domain-name newyork.com

BigIron RX(config)# ip dns server-address 209.157.22.199 205.96.7.15 208.95.7.25

201.98.7.15

Syntax: ip dns domain-name <name>

Syntax: ip dns server-address <ip-addr> [<ip-addr>] [<ip-addr>] [<ip-addr>]

The first IP address in the ip dns server-address... command becomes the primary gateway address
and all others are secondary addresses. Because IP address 201.98.7.15 is the last address
listed, it is also the last address consulted to resolve a query.

Defining a domain list

If you want to use more than one domain name to resolve host names, you can create a list of
domain names. For example, enter the commands such as the following.

Advertising