Replies: 5 comments
-
This is not possible. The DNS protocol cannot serve web pages. But the fact that this line was accepted by the parser is definitely a bug :) |
Beta Was this translation helpful? Give feedback.
-
I have a working web server on the same machine. Is it not possible to redirect somehow to the web server to serve that custom error page? |
Beta Was this translation helpful? Give feedback.
-
Indeed, the following configuration option works: |
Beta Was this translation helpful? Give feedback.
-
Virtually all traffic is HTTPS these days. |
Beta Was this translation helpful? Give feedback.
-
The following configuration options are also accepted by dnscrypt-proxy: |
Beta Was this translation helpful? Give feedback.
-
dnscrypt-proxy --check
[2021-12-15 23:58:18] [NOTICE] dnscrypt-proxy 2.0.45
[2021-12-15 23:58:18] [NOTICE] Source [public-resolvers] loaded
[2021-12-15 23:58:18] [NOTICE] Source [relays] loaded
[2021-12-15 23:58:18] [NOTICE] Configuration successfully checked
Operating system: debian buster x86
I am trying a custom html error page when a domain is blocked with the help of the following configuration option:
blocked_query_response = 'A:192.168.1.1/errors/status-404.html'
Unfortunately the error page does not display when invoking a domain from the blocklist. Is this feasible?
Beta Was this translation helpful? Give feedback.
All reactions