1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

Fix update incorrect subdomain record of AliDNS.

This commit is contained in:
wi1dcard 2020-07-30 12:14:45 +08:00
parent 81ecf1d096
commit 633e1187d0

View File

@ -92,9 +92,8 @@ func NewAliDNS(key, secret string) *AliDNS {
func (d *AliDNS) GetDomainRecords(domain, rr string) []DomainRecord {
resp := &domainRecordsResp{}
parms := map[string]string{
"Action": "DescribeDomainRecords",
"DomainName": domain,
"RRKeyWord": rr,
"Action": "DescribeSubDomainRecords",
"SubDomain": fmt.Sprintf("%s.%s", rr, domain),
}
urlPath := d.genRequestURL(parms)
body, err := getHTTPBody(urlPath)