Cisco Cisco Prime IP Express 8.3 Technical References

Page of 277
 
    cdns-redirect <name> unset <attribute>
    cdns-redirect list [-priority]
    cdns-redirect listbrief [-priority]
    cdns-redirect listnames [-priority]
    
  Description
 
    The cdns-redirect command is used to control and manage DNS redirect processing
    in the DNS Caching server. The DNS Caching server must be reloaded for changes
    to take effect. The -priority option sorts lists by the priority instead of the
    name, which is the default.
  Examples
 
    nrcmd> cdns-redirect HandleMissing create
    nrcmd> cdns-redirect HandleMissing set action=nxdomain aaaa-response=64:ff9b::10
  Status
 
  See Also
   
 
  Attributes
 
 
a-response 
 
Specifies the IPv4 address to use as a response to a query for
an A resource record. Only applies to redirect and redirect-nxdomain 
actions.
 
aaaa-response 
 
Specifies the IPv6 address to use as a response to a query for
a AAAA resource record. Only applies to redirect and
redirect-nxdomain actions.
 
action 
(refuse=1, redirect=2, drop=4, redirect-nxdomain=5, rpz=6) default = drop
 
Specifies what kind of action to take when this rule is executed.
    drop     - Ignore/drop this query completely.
    refuse   - Respond with no data and the REFUSED status.
    redirect - Redirect A/AAAA queries to the specified IP address.
    redirect-nxdomain - Redirect A/AAAA queries if the query domain 
               does not exist.
    rpz      - Use Response Policy Zone (RPZ) rules.
 
client-acl 
 
Lists the clients that will be redirected by this rule.
 
domains 
(obj(0))
 
Lists the domains that will be redirected by this rule. Sub-domains of
the listed domains are also redirected. If the list is empty, all
domains will match this rule. Does not apply to the nxdomain action.
 
name 
 required,unique
 
Specifies the name of a redirect rule. The allowed characters
include a-z, A-Z, 0-9, ., -, _, and +.
 
priority 
 default = 0
 
Specifies the rule priority relative to other rules.
The lowest non-zero value has the highest priority.