this is an automatic script to update dns target ip of ali-yun 2nd level domain
pip3 install -r requirements.txt
python3 main.py
automatic generate config file if not exists, update this config file to configure your own
{
"access_key": "",
"access_passwd": "",
"domain": "google.com",
"rr": [
"api",
"doc"
]
}
- access_key: access key of your ali-yun account
- access_passwd: access password of your ali-yun account
- domain: top level domain, sample:
google.com
- rr: second level domains , sample:
doc
、api
how to get access key:
https://usercenter.console.aliyun.com/#/manage/ak
access key and password has admin authority of your ali-yun account. it is absolutely important and dangerous. so, keep it safe and don not publish in public.