githubEdit

Huawei Cloud DNS

Configuration

This provider is for the Huawei Cloud DNSarrow-up-right(Public DNS). To use this provider, add an entry to creds.json with TYPE set to HUAWEICLOUD. along with the API credentials.

Example:

creds.json
{
  "huaweicloud": {
    "TYPE": "HUAWEICLOUD",
    "KeyId": "YOUR_ACCESS_KEY_ID",
    "SecretKey": "YOUR_SECRET_ACCESS_KEY",
    "Region": "YOUR_SERVICE_REGION"
  }
}

Metadata

There are some record level metadata available for this provider:

The following example shows how to use the metadata:

Usage

An example configuration:

Activation

DNSControl depends on a standard IAM Userarrow-up-right with permission to list, create and update hosted zones.

The DNS FullAccess policy will also work, but that provides access to many other areas and violates the "principle of least privilege".

The minimum permissions required are as follows:

To determine the Region parameter, refer to the endpoint page of huaweicloudarrow-up-right. For example, on the international site, the Region name ap-southeast-1 is known to work.

If that doesn't work, log into Huaweicloud's website and open the API Explorerarrow-up-right, find the ListPublicZones API, select a different Region and click Debug to try and find your Region.

New domains

If a domain does not exist in your Huawei Cloud account, DNSControl will automatically add it with the push command.

Last updated