These are chat archives for CZ-NIC/knot-resolver

Nov 2018
Ilya Evseev
Nov 09 2018 17:17
Hi all!
Is it possible to intercept failed responses?
I need to resolve temporarily unavailable domains to fake IP.
This is needed for reloading Nginx configs because it stops on any DNS problem.
It's easily implemented in Unbound ( ), but I want to migrate to Knot.
..and of course, I know about "predict" and "serve_stale" modules ;-)
Vladimír Čunát
Nov 09 2018 17:22
There's not a ready config for that. I guess you know this is an ugly thing to do. Lua module for this would be of similar complexity to what you posted, probably a bit shorter.