plugin/forward: Document and warn for unsupported FROM CIDR notations (#4639)

* trap unsupported FROM cidr notations

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* make is a warning

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
This commit is contained in:
Chris O'Haver
2021-05-20 03:24:36 -04:00
committed by GitHub
parent 5d80a6e21e
commit 0348b019be
3 changed files with 9 additions and 2 deletions

View File

@@ -29,7 +29,8 @@ In its most basic form, a simple forwarder uses this syntax:
forward FROM TO...
~~~
* **FROM** is the base domain to match for the request to be forwarded.
* **FROM** is the base domain to match for the request to be forwarded. Domains using CIDR notation
that expand to multiple reverse zones are not fully supported; only the first expanded zone is used.
* **TO...** are the destination endpoints to forward to. The **TO** syntax allows you to specify
a protocol, `tls://9.9.9.9` or `dns://` (or no protocol) for plain DNS. The number of upstreams is
limited to 15.