From 8819dc39ce0534776c13581380bf3cc9c75dc4b2 Mon Sep 17 00:00:00 2001 From: quindecim Date: Thu, 16 Dec 2021 00:13:56 +0100 Subject: [PATCH] [UPSTREAM] Allow ptr queries for cloaked domains https://github.com/DNSCrypt/dnscrypt-proxy/commit/1b6caba3073391da1bfd6a90ebdaaea124dc1c00 --- config/dnscrypt-proxy.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/dnscrypt-proxy.toml b/config/dnscrypt-proxy.toml index 1b76f73..ac833a2 100644 --- a/config/dnscrypt-proxy.toml +++ b/config/dnscrypt-proxy.toml @@ -352,6 +352,8 @@ reject_ttl = 10 ## Cloaking returns a predefined address for a specific name. ## In addition to acting as a HOSTS file, it can also return the IP address ## of a different name. It will also do CNAME flattening. +## If 'cloak_ptr' is set, then PTR (reverse lookups) are enabled +## for cloaking rules that do not contain wild cards. ## ## See the `example-cloaking-rules.txt` file for an example @@ -360,6 +362,7 @@ reject_ttl = 10 ## TTL used when serving entries in cloaking-rules.txt # cloak_ttl = 600 +# cloak_ptr = false