This repository defines the component that manages Azure DNS Zone.
Azure DNS Zone commands get dispatched from REST API calls defined in the Bindman webhook project Bindman DNS Webhook.
The Bindman is setup with the help of environment variables and volume mapping in the following way:
A store of records being managed is needed. Hence, a /data
volume must be mapped to the host.
-
mandatory
BINDMAN_AZURE_RESOURCE_GROUP: specifies the app Resource Group to use. -
mandatory
BINDMAN_AZURE_SUBSCRIPTION_ID: specifies the subscription to use. -
mandatory
BINDMAN_AZURE_CLIENT_ID: specifies the app client ID to use. -
mandatory
BINDMAN_AZURE_CLIENT_SECRET: specifies the app secret to use. -
mandatory
BINDMAN_AZURE_TENANT_ID: specifies the Tenant to which to authenticate. -
mandatory
BINDMAN_ZONE: the zone that the bindman instance is responsible for managing. -
optional
BINDMAN_DNS_TTL: the dns recording rule expiration time (or time-to-live). By default, the TTL is 3600 seconds. -
optional
BINDMAN_DNS_REMOVAL_DELAY: the delay in minutes to be applied to the removal of an DNS entry. The default is 10 minutes. This is to guarantee that in fact the removal should be processed. -
optional
BINDMAN_MODE: let the runtime know if the DEBUG mode is activated; useful for debugging the intermediary files created for sendingnsupdate
commands. Possible values:DEBUG|PROD
. Empty defaults toPROD
.