mirror of
https://github.com/coredns/coredns.io.git
synced 2024-04-21 12:32:00 +00:00
auto content sync
This commit is contained in:
@@ -4,7 +4,7 @@ description = "*azure* enables serving zone data from Microsoft Azure DNS servic
|
||||
weight = 5
|
||||
tags = ["plugin", "azure"]
|
||||
categories = ["plugin"]
|
||||
date = "2020-02-06T12:07:03.877382"
|
||||
date = "2020-03-10T19:30:43.8774383"
|
||||
+++
|
||||
|
||||
## Description
|
||||
@@ -23,11 +23,12 @@ azure RESOURCE_GROUP:ZONE... {
|
||||
subscription SUBSCRIPTION_ID
|
||||
environment ENVIRONMENT
|
||||
fallthrough [ZONES...]
|
||||
access private
|
||||
}
|
||||
~~~
|
||||
|
||||
* **RESOURCE_GROUP:ZONE** is the resource group to which the hosted zones belongs on Azure,
|
||||
and **ZONE** the zone that contains data.
|
||||
and **ZONE** the zone that contains data.
|
||||
|
||||
* **CLIENT_ID** and **CLIENT_SECRET** are the credentials for Azure, and `tenant` specifies the
|
||||
**TENANT_ID** to be used. **SUBSCRIPTION_ID** is the subscription ID. All of these are needed
|
||||
@@ -39,17 +40,20 @@ azure RESOURCE_GROUP:ZONE... {
|
||||
If **ZONES** is omitted, then fallthrough happens for all zones for which the plugin is
|
||||
authoritative.
|
||||
|
||||
* `access` specifies if the zone is `public` or `private`. Default is `public`.
|
||||
|
||||
## Examples
|
||||
|
||||
Enable the *azure* plugin with Azure credentials for the zone `example.org`:
|
||||
Enable the *azure* plugin with Azure credentials for private zones `example.org`, `example.private`:
|
||||
|
||||
~~~ txt
|
||||
example.org {
|
||||
azure resource_group_foo:example.org {
|
||||
azure resource_group_foo:example.org resource_group_foo:example.private {
|
||||
tenant 123abc-123abc-123abc-123abc
|
||||
client 123abc-123abc-123abc-234xyz
|
||||
subscription 123abc-123abc-123abc-563abc
|
||||
secret mysecret
|
||||
access private
|
||||
}
|
||||
}
|
||||
~~~
|
||||
|
||||
Reference in New Issue
Block a user