-
For example if i use an adblocking upstream, it always responds REFUSED for blocked domains. But if my quota runs out it stops doing so and returns successful responses. Can i make a healthcheck function that expects REFUSED and fails on successful response? If no, is there another way i could get the same result? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
No, I'm afraid not. In hindsight |
Beta Was this translation helpful? Give feedback.
No, I'm afraid not. In hindsight
checkFunction
was badly named as it can only be used to generate the qname, qtype and qclass of the health-check query. It does not handle the response. I guess we could introduce a new callback to do that, so please feel free to open a feature request!