Ip domain-lookup – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 624

Advertising
background image

574

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002581-01

Domain Name Service Commands

27

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 (575)

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

Advertising