mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
Merge pull request #77 from wi1dcard/bugfix/alidns-subdomain-contains-another-subdomain-string
Fix update incorrect subdomain record of AliDNS.
This commit is contained in:
commit
f70f3bc0a3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user