2021-04-07 20:16:06 +03:00
|
|
|
{
|
|
|
|
"upstream_dns": {
|
|
|
|
"req": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:77",
|
|
|
|
"8.8.4.4:77"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:77",
|
|
|
|
"8.8.4.4:77"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"bootstraps": {
|
|
|
|
"req": {
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"blocking_mode_good": {
|
|
|
|
"req": {
|
|
|
|
"blocking_mode": "refused"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
|
|
|
"blocking_mode": "refused",
|
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"blocking_mode_bad": {
|
|
|
|
"req": {
|
|
|
|
"blocking_mode": "custom_ip"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ratelimit": {
|
|
|
|
"req": {
|
|
|
|
"ratelimit": 6
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 6,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"edns_cs_enabled": {
|
|
|
|
"req": {
|
|
|
|
"edns_cs_enabled": true
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": true,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"edns_cs_use_custom": {
|
|
|
|
"req": {
|
|
|
|
"edns_cs_enabled": true,
|
|
|
|
"edns_cs_use_custom": true,
|
|
|
|
"edns_cs_custom_ip": "1.2.3.4"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2023-03-22 13:42:20 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2023-03-22 13:42:20 +03:00
|
|
|
"ratelimit": 0,
|
|
|
|
"blocking_mode": "default",
|
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2023-03-22 13:42:20 +03:00
|
|
|
"edns_cs_enabled": true,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
|
|
|
"cache_optimistic": false,
|
|
|
|
"resolve_clients": false,
|
|
|
|
"use_private_ptr_resolvers": false,
|
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": true,
|
|
|
|
"edns_cs_custom_ip": "1.2.3.4"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"edns_cs_use_custom_bad_ip": {
|
|
|
|
"req": {
|
|
|
|
"edns_cs_enabled": true,
|
|
|
|
"edns_cs_use_custom": true,
|
|
|
|
"edns_cs_custom_ip": "bad.ip"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2023-03-22 13:42:20 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2023-03-22 13:42:20 +03:00
|
|
|
"ratelimit": 0,
|
|
|
|
"blocking_mode": "default",
|
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2023-03-22 13:42:20 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
|
|
|
"cache_optimistic": false,
|
|
|
|
"resolve_clients": false,
|
|
|
|
"use_private_ptr_resolvers": false,
|
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"dnssec_enabled": {
|
|
|
|
"req": {
|
|
|
|
"dnssec_enabled": true
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": true,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"cache_size": {
|
|
|
|
"req": {
|
|
|
|
"cache_size": 1024
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 1024,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"upstream_mode_parallel": {
|
|
|
|
"req": {
|
|
|
|
"upstream_mode": "parallel"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "parallel",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"upstream_mode_fastest_addr": {
|
|
|
|
"req": {
|
|
|
|
"upstream_mode": "fastest_addr"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "fastest_addr",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"upstream_dns_bad": {
|
|
|
|
"req": {
|
|
|
|
"upstream_dns": [
|
2021-04-13 13:44:29 +03:00
|
|
|
"!!!"
|
2021-04-07 20:16:06 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"bootstraps_bad": {
|
|
|
|
"req": {
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"a"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"cache_bad_ttl": {
|
|
|
|
"req": {
|
|
|
|
"cache_ttl_min": 1024,
|
|
|
|
"cache_ttl_max": 512
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"upstream_mode_bad": {
|
|
|
|
"req": {
|
|
|
|
"upstream_mode": "somethingelse"
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"local_ptr_upstreams_good": {
|
|
|
|
"req": {
|
|
|
|
"local_ptr_upstreams": [
|
|
|
|
"123.123.123.123"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"local_ptr_upstreams": [
|
|
|
|
"123.123.123.123"
|
2023-03-22 13:42:20 +03:00
|
|
|
],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
},
|
2022-02-14 16:56:14 +03:00
|
|
|
"local_ptr_upstreams_bad": {
|
|
|
|
"req": {
|
|
|
|
"local_ptr_upstreams": [
|
|
|
|
"123.123.123.123",
|
|
|
|
"[/non.arpa/]#"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
2022-02-14 16:56:14 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2022-02-14 16:56:14 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2022-02-14 16:56:14 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2022-02-14 16:56:14 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
|
|
|
"cache_optimistic": false,
|
|
|
|
"resolve_clients": false,
|
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2022-02-14 16:56:14 +03:00
|
|
|
}
|
|
|
|
},
|
2021-04-07 20:16:06 +03:00
|
|
|
"local_ptr_upstreams_null": {
|
|
|
|
"req": {
|
|
|
|
"local_ptr_upstreams": null
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
2023-08-30 13:21:31 +03:00
|
|
|
"fallback_dns": [],
|
|
|
|
"protection_enabled": true,
|
|
|
|
"protection_disabled_until": null,
|
|
|
|
"ratelimit": 0,
|
|
|
|
"blocking_mode": "default",
|
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
2023-08-30 13:21:31 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
|
|
|
"cache_optimistic": false,
|
|
|
|
"resolve_clients": false,
|
|
|
|
"use_private_ptr_resolvers": false,
|
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"fallbacks": {
|
|
|
|
"req": {
|
|
|
|
"fallback_dns": [
|
|
|
|
"9.9.9.10"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
|
|
|
"fallback_dns": [
|
|
|
|
"9.9.9.10"
|
|
|
|
],
|
2021-04-07 20:16:06 +03:00
|
|
|
"protection_enabled": true,
|
2023-03-24 15:11:47 +03:00
|
|
|
"protection_disabled_until": null,
|
2021-04-07 20:16:06 +03:00
|
|
|
"ratelimit": 0,
|
2022-09-06 17:09:54 +03:00
|
|
|
"blocking_mode": "default",
|
2021-04-07 20:16:06 +03:00
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
2023-09-13 13:58:12 +03:00
|
|
|
"blocked_response_ttl": 10,
|
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
|
|
|
"cache_optimistic": false,
|
|
|
|
"resolve_clients": false,
|
|
|
|
"use_private_ptr_resolvers": false,
|
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"blocked_response_ttl": {
|
|
|
|
"req": {
|
|
|
|
"blocked_response_ttl": 11
|
|
|
|
},
|
|
|
|
"want": {
|
|
|
|
"upstream_dns": [
|
|
|
|
"8.8.8.8:53",
|
|
|
|
"8.8.4.4:53"
|
|
|
|
],
|
|
|
|
"upstream_dns_file": "",
|
|
|
|
"bootstrap_dns": [
|
|
|
|
"9.9.9.10",
|
|
|
|
"149.112.112.10",
|
|
|
|
"2620:fe::10",
|
|
|
|
"2620:fe::fe:10"
|
|
|
|
],
|
|
|
|
"fallback_dns": [],
|
|
|
|
"protection_enabled": true,
|
|
|
|
"protection_disabled_until": null,
|
|
|
|
"ratelimit": 0,
|
|
|
|
"blocking_mode": "default",
|
|
|
|
"blocking_ipv4": "",
|
|
|
|
"blocking_ipv6": "",
|
|
|
|
"blocked_response_ttl": 11,
|
2021-04-07 20:16:06 +03:00
|
|
|
"edns_cs_enabled": false,
|
|
|
|
"dnssec_enabled": false,
|
|
|
|
"disable_ipv6": false,
|
|
|
|
"upstream_mode": "",
|
|
|
|
"cache_size": 0,
|
|
|
|
"cache_ttl_min": 0,
|
|
|
|
"cache_ttl_max": 0,
|
2021-07-14 21:03:56 +03:00
|
|
|
"cache_optimistic": false,
|
2021-04-07 20:16:06 +03:00
|
|
|
"resolve_clients": false,
|
2021-05-26 17:55:19 +03:00
|
|
|
"use_private_ptr_resolvers": false,
|
2023-03-22 13:42:20 +03:00
|
|
|
"local_ptr_upstreams": [],
|
|
|
|
"edns_cs_use_custom": false,
|
|
|
|
"edns_cs_custom_ip": ""
|
2021-04-07 20:16:06 +03:00
|
|
|
}
|
|
|
|
}
|
2021-04-13 13:44:29 +03:00
|
|
|
}
|