XG Series User's Guide
Chapter 5 Command Reference
Device Information Settings
295
5.15.4
ProxyDNS Information
This section explains about the commands related to proxyDNS information.
5.15.4.1 proxydns domain
Function
Set the forward lookup conditions for proxy DNS.
Available Model
XG0224 / XG0448 / XG0440DC / XG0440DCR / XG2600
Syntax
proxydns domain <count> <qtype> <qname> <address>/<mask> reject
(Discard the request to forward)
proxydns domain <count> <qtype> <qname> <address>/<mask> static <ipaddress>
(Specify the fixed DNS server)
Options
<count>
•
Destination definition number
Specify a destination definition number with a decimal value from 0 to 49.
The specified values are sorted and renumbered forward when setting was completed.
If any destination definition with a same number exists, it will be inserted before the
existing one.
<qtype>
•
Query type number
Specify a decimal value from 1 to 11 or from 13 to 65535.
The following shows some part of the query types.
•
any
Specify it for all types, excluding PTR (12).
<qname>
•
Host name
Specify a host name used as a condition with up to 80 characters.
For the host name, the following wild cards are usable.
- * (Asterisk)
This is considered to be an arbitrary character string of 0 character or more.
- ? (Question mark)
This is considered to be an arbitrary character.
Name
Number
Description
A
1
Host address
NS
2
An authoritative name server
CNAME
5
Canonical name for an alias
SOA
6
Start of a zone of authority
PTR
12
A domain name pointer
HINFO
13
Host information
MX
15
A mail exchanger
SRV
33
Service