mirror of
https://github.com/coredns/coredns.git
synced 2025-12-05 09:55:10 -05:00
update doc to not use the root zone for everything (#3288)
Update all documentation in the tree to use example.org as an example configuration (in so far possible). As to get out of the just use "." and fallthrough and things would be fine. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -62,8 +62,11 @@ route53 [ZONE:HOSTED_ZONE_ID...] {
|
||||
Enable route53 with implicit AWS credentials and resolve CNAMEs via 10.0.0.1:
|
||||
|
||||
~~~ txt
|
||||
. {
|
||||
example.org {
|
||||
route53 example.org.:Z1Z2Z3Z4DZ5Z6Z7
|
||||
}
|
||||
|
||||
. {
|
||||
forward . 10.0.0.1
|
||||
}
|
||||
~~~
|
||||
@@ -71,7 +74,7 @@ Enable route53 with implicit AWS credentials and resolve CNAMEs via 10.0.0.1:
|
||||
Enable route53 with explicit AWS credentials:
|
||||
|
||||
~~~ txt
|
||||
. {
|
||||
example.org {
|
||||
route53 example.org.:Z1Z2Z3Z4DZ5Z6Z7 {
|
||||
aws_access_key AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
|
||||
}
|
||||
@@ -91,14 +94,14 @@ Enable route53 with fallthrough:
|
||||
Enable route53 with multiple hosted zones with the same domain:
|
||||
|
||||
~~~ txt
|
||||
. {
|
||||
example.org {
|
||||
route53 example.org.:Z1Z2Z3Z4DZ5Z6Z7 example.org.:Z93A52145678156
|
||||
}
|
||||
~~~
|
||||
|
||||
Enable route53 and refresh records every 3 minutes
|
||||
~~~ txt
|
||||
. {
|
||||
example.org {
|
||||
route53 example.org.:Z1Z2Z3Z4DZ5Z6Z7 {
|
||||
refresh 3m
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user