diff options
author | 2017-08-22 14:56:00 +0100 | |
---|---|---|
committer | 2017-08-22 14:56:00 +0100 | |
commit | 60d5e71a1aa3e7ff75e385600a214063a7b17d01 (patch) | |
tree | 3bc78c9b3d8dbef6c1ca518c8622248ad50a46c3 /middleware | |
parent | 5604568655e20d6d04ff47a4adc713312000ad9b (diff) | |
download | coredns-60d5e71a1aa3e7ff75e385600a214063a7b17d01.tar.gz coredns-60d5e71a1aa3e7ff75e385600a214063a7b17d01.tar.zst coredns-60d5e71a1aa3e7ff75e385600a214063a7b17d01.zip |
mw/*: updates docs about upstream (#968)
Upstream allows file structured like /etc/resolv.conf. Update docs.
Fixes #709
Diffstat (limited to 'middleware')
-rw-r--r-- | middleware/auto/README.md | 3 | ||||
-rw-r--r-- | middleware/file/README.md | 3 | ||||
-rw-r--r-- | middleware/kubernetes/README.md | 4 | ||||
-rw-r--r-- | middleware/secondary/README.md | 3 |
4 files changed, 8 insertions, 5 deletions
diff --git a/middleware/auto/README.md b/middleware/auto/README.md index 64807b821..b69c1c291 100644 --- a/middleware/auto/README.md +++ b/middleware/auto/README.md @@ -31,7 +31,8 @@ are used. * `no_reload` by default CoreDNS will reload a zone from disk whenever it detects a change to the file. This option disables that behavior. * `upstream` defines upstream resolvers to be used resolve external names found (think CNAMEs) - pointing to external names. + pointing to external names. **ADDRESS** can be an IP address, and IP:port or a string pointing to + a file that is structured as /etc/resolv.conf. All directives from the *file* middleware are supported. Note that *auto* will load all zones found, even though the directive might only receive queries for a specific zone. I.e: diff --git a/middleware/file/README.md b/middleware/file/README.md index 30391ed47..29656d161 100644 --- a/middleware/file/README.md +++ b/middleware/file/README.md @@ -39,7 +39,8 @@ file DBFILE [ZONES... ] { file. This option disables that behavior. * `upstream` defines upstream resolvers to be used resolve external names found (think CNAMEs) pointing to external names. This is only really useful when CoreDNS is configured as a proxy, for - normal authoritative serving you don't need *or* want to use this. + normal authoritative serving you don't need *or* want to use this. **ADDRESS** can be an IP + address, and IP:port or a string pointing to a file that is structured as /etc/resolv.conf. ## Examples diff --git a/middleware/kubernetes/README.md b/middleware/kubernetes/README.md index 7970fc45b..d3faeef7f 100644 --- a/middleware/kubernetes/README.md +++ b/middleware/kubernetes/README.md @@ -24,10 +24,10 @@ kubernetes [ZONES...] { resyncperiod DURATION endpoint URL tls CERT KEY CACERT - namespaces NAMESPACE [NAMESPACE...] + namespaces NAMESPACE... labels EXPRESSION pods POD-MODE - upstream ADDRESS [ADDRESS...] + upstream ADDRESS... fallthrough } ``` diff --git a/middleware/secondary/README.md b/middleware/secondary/README.md index e37555211..7d5338c95 100644 --- a/middleware/secondary/README.md +++ b/middleware/secondary/README.md @@ -26,7 +26,8 @@ secondary [zones...] { * `transfer to` can be enabled to allow this secondary zone to be transferred again. * `upstream` defines upstream resolvers to be used resolve external names found (think CNAMEs) pointing to external names. This is only really useful when CoreDNS is configured as a proxy, for - normal authoritative serving you don't need *or* want to use this. + normal authoritative serving you don't need *or* want to use this. **ADDRESS** can be an IP + address, and IP:port or a string pointing to a file that is structured as /etc/resolv.conf. ## Examples |