mirror of
https://github.com/jeessy2/ddns-go.git
synced 2025-10-20 15:33:46 +08:00
fix(traffic_route): 通过精确获取DNS记录解决找不到历史记录的问题 (#1496)
This commit is contained in:
@ -107,7 +107,14 @@ func (tr *TrafficRoute) addUpdateDomainRecords(recordType string) {
|
||||
tr.request(
|
||||
"GET",
|
||||
"ListRecords",
|
||||
map[string][]string{"ZID": {strconv.Itoa(zoneID)}},
|
||||
map[string][]string{
|
||||
"ZID": {strconv.Itoa(zoneID)},
|
||||
"Type": {recordType},
|
||||
"Host": {domain.GetSubDomain()},
|
||||
"SearchMode": {"exact"},
|
||||
"PageNumber": {"1"},
|
||||
"PageSize": {"500"},
|
||||
},
|
||||
&recordResp,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user