mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
all: implement policy failover rcodes
While at it, ensure that config is validated, and fixing a bug related to reuse ctx between multiple upstreams resolving.
This commit is contained in:
committed by
Cuong Manh Le
parent
fe0faac8c4
commit
ccada70e31
@@ -59,6 +59,7 @@ port = 1337
|
||||
|
||||
[listener.0.policy]
|
||||
name = "My Policy"
|
||||
failover_rcodes = ["NXDOMAIN", "SERVFAIL"]
|
||||
networks = [
|
||||
{"network.0" = ["upstream.1", "upstream.0"]},
|
||||
{"network.1" = ["upstream.0"]},
|
||||
|
||||
Reference in New Issue
Block a user