举个
var api = new AliDnsApi("YOUR_ACCESS_ID", "YOUR_ACCESS_KEY");
var r = await api.DomainRecord.DescribeDomainRecords(new DescribeDomainRecordsParam()
{
DomainName = "xware.io",
});
docker run -d \
--env AccessId=xxxx \
--env AccessKey=xxx \
--env Interval=10 \
--env Domains=demo.com,*.demo.com,www.demo.com \
hetaoos/alidns
Environment Variables
- AccessId: AccessId
- AccessKey: AccessKey
- Interval: IP detection interval (minutes), (default: 10)
- Domains: The dns record list, multiple records are separated by commas.