mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
plugins: remove upstream [ADDRESS] from docs (#2772)
Various plugins still had this documented, the setup functions still allow it (which is fine), but update the docs that this arguments isn't there any more. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -23,8 +23,9 @@ federation [ZONES...] {
|
||||
|
||||
* Each **NAME** and **DOMAIN** defines federation membership. One entry for each. A duplicate
|
||||
**NAME** will silently overwrite any previous value.
|
||||
* `upstream` [**ADDRESS**...] resolve the `CNAME` target produced by this plugin. CoreDNS
|
||||
will resolve External Services against itself.
|
||||
* `upstream` resolve the `CNAME` target produced by this plugin. CoreDNS
|
||||
will resolve External Services against itself and needs the *forward* plugin to be active to do
|
||||
so.
|
||||
|
||||
## Examples
|
||||
|
||||
@@ -38,18 +39,6 @@ Here we handle all service requests in the `prod` and `stage` federations.
|
||||
staging staging.feddomain.com
|
||||
upstream
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
||||
Or slightly shorter:
|
||||
|
||||
~~~
|
||||
cluster.local {
|
||||
kubernetes
|
||||
federation {
|
||||
prod prod.feddomain.com
|
||||
staging staging.feddomain.com
|
||||
upstream
|
||||
}
|
||||
forward . 192.168.1.12
|
||||
}
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user