fix(traffic_route): 通过精确获取DNS记录解决找不到历史记录的问题 (#1496)

This commit is contained in:
面条
2025-07-03 21:12:29 +08:00
committed by GitHub
parent 3a708d2e07
commit 57d365c5a1

View File

@ -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,
)