XG Series User's Guide
Chapter 5 Command Reference
Device Information Settings
296
For the host name, the following wild cards are usable.
An execution example is given below.
The host name is checked without case sensitivity.
<address>/<mask>
Specify the target source IPv4 address/number of mask bits.
•
Source IPv4 address/number of mask bits (or mask value)
Specify a combination of the target source IPv4 address and the number of mask bits.
For the mask value, specify successive 1s following the most significant bit (MSB).
•
any
Specify it when targeting all addresses.
The default is 0.0.0.0/0 (0.0.0.0/0.0.0.0).
<ipaddress>
•
DNS server IP address
Specify the IPv4 address of the DNS server that forwards a request.
The allowable range is as follows:
1.0.0.1 to 126.255.255.254
128.0.0.1 to 191.255.255.254
192.0.0.1 to 223.255.255.254
Use Mode
Configuration mode (admin class)
Explanation
Set forward lookup conditions for proxy DNS. The explanation for each command is as
follows.
•
Discard the requirement for forwarding
proxydns domain <count> <qtype> <qname> <address>/<mask> reject
Set the filter that disables forwarding the specified DNS request.
The host name to be specified in <qname> is available when limiting the access to the
specified host (group) even if it is registered in the DNS database. A host name that
has satisfied filtering conditions will be discarded.
•
Specify static DNS server
proxydns domain <count> <qtype> <qname> <address>/<mask> static
Set the IP address to which the specified DNS request is to be forwarded.
Default
It is assumed that no forward lookup conditions for proxy DNS are set.
Execution example
Matching Character String
www.*.com
This is considered to match all of the following character strings.
• www.testa.com
• www.test1.test.com
*test*
This is considered to match all of the following character strings.
• www.test.com
• test.com
• test.co.jp
www.test?.com
This is considered to match all of the following character strings.
• www.test1.com
• www.test2.com
• www.testA.com