beautypg.com

Ip domain-lookup – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 636

background image

580

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

27

Domain Name Service Commands

Command Usage

Domain names are added to the end of the list one at a time.

When an incomplete host name is received by the DNS service on this switch, it will work
through the domain list, appending each domain name in the list to the host name, and
checking with the specified name servers for a match.

If there is no domain list, the domain name specified with the

ip domain-name

command is

used. If there is a domain list, the default domain name is not used.

Example
This example adds two domain names to the current list and then displays the list.

Console(config)#ip domain-list sample.com.jp

Console(config)#ip domain-list sample.com.uk

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:

Console#

Related Commands

“ip domain-name”

on page 581

ip domain-lookup

This command enables DNS host name-to-address translation. Use the no form to disable DNS.

Syntax

[no] ip domain-lookup

Default Setting
Disabled

Command Mode
Global Configuration

Command Usage

At least one name server must be specified before DNS can be enabled.

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

Example
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