Cisco Cisco ASR 5000

Page of 9109
  ACS Ruledef Configuration Mode Commands 
ip server-domain-name  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
967 
ip server-domain-name 
This command allows you to define rule expressions to match host names (domain names). 
Product
 
ACS 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Ruledef Configuration 
active-charging service service_name > ruledef ruledef_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-acs-ruledef)# 
Syntax
 
[ no ] ip server-domain-name operator domain_name 
no
 
If previously configured, deletes the specified rule expression from the current ruledef. 
operator
 
Specifies how to match. 
operator
 must be one of the following: 
 
=
: Equals 
 
contains
: Contains 
 
ends-with
: Ends with 
 
starts-with
: Starts with 
domain_name
 
Specifies the domain name to match. 
domain_name
 must be an alphanumeric string of 1 through 127 characters. 
Usage 
Use this command to define rule expressions to match full or partial host names (domain names). 
The rule will be matched for the learnt IP addresses resolved from DNS queries to the specified domain 
names. DNS responses for the specified domain names will be snooped and the learnt IP addresses stored. 
Besides being used for standard rule matching, this command also enables the DNS Snooping feature if the 
rulebase references any ruledefs with this configuration. The DNS protocol analyzer must also be enabled in 
the rulebase. 
Example
 
The following command defines a rule expression to match domain name values containing 
star
ip server-domain-name contains star