26.2. DNS Resolver

The DNS Resolver resolves queries incoming directly from Abilis.

The example below shows how to configure the DNS Resouce 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
       SERVER:NO
       IPSRC:*                   IPSRCLIST:#
[Caution]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).