search-domain

This command manages domain-suffixes in the search table for nonqualified domain names.

Syntax

search-domain domain

no search-domain domain

Parameters

domain
Specifies a base domain name to which a host name can be prefixed.

Guidelines

The search-domain command manages domain-suffixes in the search table for nonqualified domain names. Use this command to create a list of one or more domain names that can be added to a host name to resolve host names. Each use of the command adds an entry to the search table.

The appliance attempts to resolve a host name with any domains that are defined with this command. The host name is resolved as soon as a match is found.

Use the no search-domain command to delete an entry from the search table.

This command is equivalent to the Global ip domain command.

Examples

  • Add datapower.com to the search table.
    # search-domain datapower.com
    #
    
  • Remove datapower.com from the search table.
    # no search-domain datapower.com
    #
    
  • Add datapower.com, somewhereelse.com, and endoftheearth.com to the search table.
    # search-domain datapower.com
    # search-domain somewhereelse.com
    # search-domain endoftheearth.com
    # exit
    #
    
    The appliance attempts to resolve the host name loki as follows:
    1. loki.datapower.com
    2. loki.somewhereelse.com
    3. loki.endoftheearth.com