Cisco Cisco IOS Software Release 12.4(4)T

Page de 22
 
VRF-Aware DNS
  ip domain list
11
Cisco IOS Release 12.4(4)T
ip domain list
To define a list of default domain names to complete unqualified names, use the ip domain list command 
in global configuration mode. To delete a name from a list, use the no form of this command.
ip domain list [vrf vrf-name] name
no ip domain list [vrf vrf-name] name
Syntax Description
Defaults
No domain names are defined.
Command Modes
Global configuration
Command History
Usage Guidelines
If there is no domain list, the domain name that you specified with the ip domain name global 
configuration command is used. If there is a domain list, the default domain name is not used. The 
ip domain list command is similar to the ip domain name command, except that with the 
ip domain list 
command you can define a list of domains, each to be tried in turn until the system finds 
a match. 
If the ip domain list vrf command option is specified, the domain names are only used for name queries 
in the specified VRF.
The Cisco IOS software will still accept the previous version of the command, ip domain-list.
Examples
The following example shows how to add several domain names to a list:
ip domain list company.com
ip domain list school.edu
The following example shows how to add several domain names to a list in vpn1 and vpn2:
ip domain list vrf vpn1 company.com
ip domain list vrf vpn2 school.edu
vrf vrf-name
(Optional) Defines a Virtual Private Network (VPN) routing and 
forwarding instance (VRF) table. The vrf-name argument specifies a 
name for the VRF table.
name
Domain name. Do not include the initial period that separates an 
unqualified name from the domain name.
Release
Modification
10.0
This command was introduced.
12.2
The syntax of the command changed from ip domain-list to ip domain list.
12.4(4)T
The vrf keyword and vrf-name argument were added.