The DNS Resolver resolves queries incoming directly from Abilis.
The example below shows how to configure the DNS Resource as Resolver.
[16:37:46] ABILIS_CPX:s p dns act:yes primary:62.94.0.1 secondary:62.94.0.2
COMMAND EXECUTED [16:39:44] ABILIS_CPX:d p dns
RES:Dns - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------- Run DESCR:Domain_Name_System LOG:NO ACT:YES udp-locport:53 SRCADD:OUT-IP TOS:0-N wdir:C:\APP\DNS\ - Resolver ------------------------------------------------------------- SERVERS:AUTO PRIMARY:062.094.000.001 SECONDARY:062.094.000.002 DELAY:5 RTY:1 CACHE:YES cache-size:500 - Relay/Server --------------------------------------------------------- RELAY:NO relay-size:500 RELAY-TOUT:10 RELAY-BLACKLIST:YES RELAY-BLACKLIST-BYPASS:# SERVER:NO IPSRC:* IPSRCLIST:#
Caution | |
---|---|
To activate the changes made on the upper case parameters, execute the initialization command init res:dns.; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). |
In the example above, CACHING is enabled
(CACHE
:YES
): responses are stored in
cache a period which depends on the size of the cache
(cache-size
parameter).
Use the following command to display DNS CACHE:
[16:39:44] ABILIS_CPX:d dns cache
-----------------------------------------------------------------------------
CACHE TABLE. Entries:4, good:3, negative:1
-----------------------------------------------------------------------------
NUM QTYPE TTL QUERY
QCLASS TIME RESPONSE
-----------------------------------------------------------------------------
1 A 3600 daisy.ubuntu.com
IN 3560 91.189.92.55
------------------------------------------------------------------------
2 UNKN 60 daisy.ubuntu.com
IN 20 NEGATIVE. NO ERROR
------------------------------------------------------------------------
3 A 7200 www.edgewall.org
IN 7178 176.9.102.26
------------------------------------------------------------------------
4 A 7200 trac.edgewall.org
IN 7178 176.9.102.26
------------------------------------------------------------------------
-----------------------------------------------------------------------------