From 05890efee9740c35ea07c3ccdf771f458fcd5e31 Mon Sep 17 00:00:00 2001 From: George Harvey <11440490+HarvsG@users.noreply.github.com> Date: Tue, 6 Apr 2021 15:01:15 +0100 Subject: [PATCH] implements option to only propogate subnets --- setup.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.go b/setup.go index 40df890..c382d43 100644 --- a/setup.go +++ b/setup.go @@ -39,7 +39,10 @@ func parse(c *caddy.Controller) (Zones, error) { z[zone.name] = zone for c.NextBlock() { + zone.onlySubnets = false switch c.Val() { + case "only-propagate-subnets": + zone.onlySubnets = true case "self": // self [endpoint] [allowed-ips ... ] zone.serveSelf = true