The Abilis CPX DNS resource may behave as a DNS Resolver, as a DNS Relay or as a DNS Server too.
Add the resource to the Abilis system with the following command.
[12:18:28] ABILIS_CPX:a res:dns
RES:DNS ALREADY EXISTSThe DNS resource may already exist in the system, but may not yet be active: set it active with the command:
[12:18:31] ABILIS_CPX:s act res:dns
COMMAND EXECUTED![]() | Caution |
|---|---|
After adding or setting the DNS active, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). |
[17:14:59] ABILIS_CPX:s p dns act:yesCOMMAND EXECUTED [17:15:17] ABILIS_CPX:d p dnsRES:Dns ----------------------------------------------------------------------- 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:# SECONDARY:# DELAY:5 RTY:1 CACHE:YES cache-size:500 - Relay/Server --------------------------------------------------------- RELAY:NO relay-size:500 RELAY-TOUT:10 RELAY-WHITELIST:NO RELAY-WHITELIST-CLIENTS:# RELAY-BLACKLIST:YES RELAY-BLACKLIST-BYPASS:# RELAY-LOG-REQUESTERS: SERVER:YES IPSRC:* IPSRCLIST:#
Use the following command to display the parameters of the resource; the command d p dns ? displays the meaning of all parameters.
[12:18:35] ABILIS_CPX:d p dns
RES:Dns -----------------------------------------------------------------------
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:# SECONDARY:#
DELAY:5 RTY:1
CACHE:YES cache-size:500
- Relay/Server ---------------------------------------------------------
RELAY:NO relay-size:500 RELAY-TOUT:10
RELAY-WHITELIST:NO RELAY-WHITELIST-CLIENTS:#
RELAY-BLACKLIST:YES RELAY-BLACKLIST-BYPASS:#
RELAY-LOG-REQUESTERS:
SERVER:YES
IPSRC:* IPSRCLIST:#Meaning of the most important parameters:
LOGLogging functionalities activation/deactivation.
ACTOperation activation [NO,
YES].
udp-locportDNS-relay listening UDP port [53].
SRCADDSource IP address for outgoing requests [R-ID, OUT-IP, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
TOSSets the TOS value for DNS service; TOS or DS field:
p-t: PRECEDENCE-TOS, 'p' [0..7], 't' [N, D, T, R, C];
bbbbbb: DS value bit by bit, 'b' [0, 1].
wdirWorking directory. Full path with drive letter ['C'..'Z'] terminated by '\'. Max 128 chars. Spaces require double quotes (E.g. "C:\My dir\").
SERVERSServers IP resource [AUTO, Ip-nnn, STATIC], where 'nnn' is an IP resource index [1..250].
AUTO: DNS resolver uses the servers
retrieved by an IP resources that negotiates them e.g. IP-PPP.
DNS: parameter of IP resources must be set to RETRIEVE;
Ip-nnn: DSN resolver uses the
available servers through Ip-nnn resource;
STATIC: DNS resolver uses PRIMARY and
SECONDARY servers.
PRIMARYDNS primary server IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
SECONDARYDNS secondary server IP address [#, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
DELAYTime that resolver waits for server's responses [1..15 sec.].
RTYNumber of attempts to perform DNS request [1..10]. Sets how
many times a request has to be sent to the DNS server if the DNS
Resolver doesn't get any response in the expected time interval
fixed in the DELAY parameter.
CACHEActivation/deactivation of DNS cache [NO,
YES].
cache-sizeSize of DNS cache [500..20000].
RELAYEnable/disable the DNS
Relay feature [NO,
YES]. DNS relay allows the relay of external
DNS requests of DNS clients from CPX to DNS server.
relay-sizeSize of DNS relay table [500..20000].
RELAY-TOUTTimeout waiting server response for relayed requests [5..60 sec.].
RELAY-WHITELISTEnable/disable DNS whitelist service [NO, YES].
Whitelist is a service that can be enabled for a specific set of clients, based on their IP address.
For such clients the DNS will resolve only the domains in the whitelist.
The whitelist is enabled using CP but domains are inserted using the Web Filter page.
RELAY-WHITELIST-CLIENTSList of IP addresses that are subject to Relay whitelist service [ListName, #].
RELAY-BLACKLISTEnable/disable DNS Relay
blacklist service [NO,
YES].
RELAY-BLACKLIST-BYPASSList of IP addresses that bypass Relay blacklist service [ListName, #].
RELAY-LOG-REQUESTERSList of requester(s) IP addresses that are used to filter DNS log. Empty or max 3 IP addresses separated by separated by ',' (comma).
SERVEREnable/disable local DNS
Server [NO,
YES].
IPSRCAccepted client's IP address [*, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
IPSRCLISTList of further accepted source IP addresses [#, IP/IR/RU/MR listname].
The following command allows the administrator to change the configuration of the resource:
s p dns parameter:value...
![]() | 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). |