Huawei Cloud DNS
Last updated
Last updated
This provider is for the (Public DNS). To use this provider, add an entry to creds.json
with TYPE
set to HUAWEICLOUD
. along with the API credentials.
Example:
There are some record level metadata available for this provider:
hw_line
(Line ID, default "default_view") Refer to the for more information.
Available Line ID refer to . Custom Line ID can also be used.
hw_weight
(0-1000, default "1") Refer to the for more information.
hw_rrset_key
(default "") User defined key for RRset load balance. This value would be stored in the description field of the RRset.
The following example shows how to use the metadata:
An example configuration:
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:
If a domain does not exist in your Huawei Cloud account, DNSControl will automatically add it with the push
command.
DNSControl depends on a standard with permission to list, create and update hosted zones.
To determine the Region
parameter, refer to the . 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 , find the ListPublicZones
API, select a different Region and click Debug to try and find your Region.