You configure DNS proxies at the network dns proxy-settings level.
To edit DNS proxy settings, use the following command:
Admin@nodename# set network dns proxy-settings
Add the parameters you want to change:
Parameter |
Description |
---|---|
filtering |
DNS request filtering:
|
caching |
Cache DNS responses:
|
limit |
Limit the number of DNS queries per second for each user (default value: 100). |
max-ttl |
Maximum possible time-to-live for DNS records. |
recursive |
Perform recursive DNS queries:
|
dns-timeout |
Time to the next attempt to query a DNS server (in milliseconds). |
a-aaaa-unknown |
Respond only to requests for A and AAAA records from unknown users. This effectively blocks attempts to establish a VPN over the DNS protocol:
|
retries |
Number of attempts to send a DNS request. |
factory-defaults |
Reset the values of the selected parameter (parameters shown in this table) or all parameters (all) to factory defaults. |
Example command to edit DNS-proxy parameters:
Admin@nodename# set network dns proxy-settings limit 10 dns-timeout 10
To display DNS proxy settings, use the following command:
Admin@nodename# show network dns proxy-settings