From 12ed67ab1154138c0008f18b6fb7ac8a17f43860 Mon Sep 17 00:00:00 2001 From: ArtemBaskal Date: Mon, 7 Sep 2020 12:38:35 +0300 Subject: [PATCH] + client: Add REFUSED DNS error code as the default blocking method --- client/src/__locales/en.json | 1 + client/src/helpers/constants.js | 1 + 2 files changed, 2 insertions(+) diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index d6c2cd5c..fe21ef6c 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -235,6 +235,7 @@ "blocking_mode": "Blocking mode", "default": "Default", "nxdomain": "NXDOMAIN", + "refused": "REFUSED", "null_ip": "Null IP", "custom_ip": "Custom IP", "blocking_ipv4": "Blocking IPv4", diff --git a/client/src/helpers/constants.js b/client/src/helpers/constants.js index e0075a25..163b11a6 100644 --- a/client/src/helpers/constants.js +++ b/client/src/helpers/constants.js @@ -294,6 +294,7 @@ export const FILTERS_INTERVALS_HOURS = [0, 1, 12, 24, 72, 168]; export const BLOCKING_MODES = { default: 'default', + refused: 'refused', nxdomain: 'nxdomain', null_ip: 'null_ip', custom_ip: 'custom_ip',