diff --git a/cf2dns_actions.py b/cf2dns_actions.py index a13d09fc3b2..2f327e81f48 100644 --- a/cf2dns_actions.py +++ b/cf2dns_actions.py @@ -39,7 +39,7 @@ def get_optimization_ip(): try: headers = headers = {'Content-Type': 'application/json'} data = {"key": KEY, "type": "v4" if RECORD_TYPE == "A" else "v6"} - response = requests.post('https://api.hostmonit.com/get_optimization_ip', json=data, headers=headers) + response = requests.post('https://monitor.gacjie.cn/api/client/get_ip_address', json=data, headers=headers) if response.status_code == 200: return response.json() else: @@ -182,4 +182,4 @@ def main(cloud): cloud = AliApi(SECRETID, SECRETKEY, REGION_ALI) elif DNS_SERVER == 3: cloud = HuaWeiApi(SECRETID, SECRETKEY, REGION_HW) - main(cloud) \ No newline at end of file + main(cloud)