mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-25 12:38:05 +00:00
Say that provider is required when setting upstreamnameservers
This commit is contained in:
@@ -50,6 +50,8 @@ dns:
|
||||
|
||||
By default, CoreDNS will use the host configured nameservers (usually residing at `/etc/resolv.conf`) to resolve external queries. If you want to configure specific upstream nameservers to be used by CoreDNS, you can use the `upstreamnameservers` directive.
|
||||
|
||||
When you set `upstreamnameservers`, the `provider` also needs to be set.
|
||||
|
||||
```yaml
|
||||
dns:
|
||||
provider: coredns
|
||||
@@ -92,6 +94,8 @@ _Available as of v0.2.0_
|
||||
|
||||
By default, kube-dns will use the host configured nameservers (usually residing at `/etc/resolv.conf`) to resolve external queries. If you want to configure specific upstream nameservers to be used by kube-dns, you can use the `upstreamnameservers` directive.
|
||||
|
||||
When you set `upstreamnameservers`, the `provider` also needs to be set.
|
||||
|
||||
```yaml
|
||||
dns:
|
||||
provider: kube-dns
|
||||
|
||||
Reference in New Issue
Block a user