mirror of
https://github.com/coredns/coredns.git
synced 2025-11-21 19:32:21 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user