PREV NEXT INDEX

Avici Systems Inc.


ip domain-name


Defines a default domain name used by IPriori to complete unqualified host names.

Syntax: ip domain-name name

no ip domain-name

name

Default domain name used to complete unqualified host names.

Description: DNS allows you to enter incomplete host names; that is host names without a period followed by a domain name such as "edu" or "com." IPriori uses the default domain name defined by this command to complete such host names.

Use the ip domain-name command to define the default domain name. This default is appended to incomplete host names.

Use the no ip domain-name command to delete the default domain name.

Factory Default: Enabled.

Command Mode: Configuration.

Example 1: In the following example, the ip domain-name command defines a default domain name and the show hosts command displays the new setting:

router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

router(config)#ip domain-name avici.com

router(config)#end

router#show hosts

Default domain is avici.com

Name/address lookup uses domain service

.

.

.

Example 2: The hostname "bob" will be resolved as "bob.avici.com."

You can also use the show running-config command to display the new setting:

router#show running-config

.

.

.

ip domain-list bob.avici.com

ip domain-list avici.webhost.com

ip host testbed24 10.1.2.24

ip host swuser1 10.5.1.9

ip domain-name avici.com

ip name-server 10.1.1.230

ip name-server 10.5.1.240

.

.

.

Related Commands: ip domain-list
ip domain-lookup
show hosts
show running-config


PREV NEXT INDEX

Copyright © 2004 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: IP_Commands.fm
    HTML File Name: IP_Commands6.html
    Last Updated: 05/10/04 at 16:34:20

Please email suggestions and comments to: doc@avici.com