https://github.com/davideuler/dns-updater
DNS Updater which help to update Aliyun Domain A Record by current machine's IP address.
https://github.com/davideuler/dns-updater
Last synced: 5 months ago
JSON representation
DNS Updater which help to update Aliyun Domain A Record by current machine's IP address.
- Host: GitHub
- URL: https://github.com/davideuler/dns-updater
- Owner: davideuler
- License: other
- Created: 2024-01-23T15:30:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T08:32:45.000Z (over 1 year ago)
- Last Synced: 2025-07-26T01:03:12.553Z (6 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Put the ak/sk, and domain name to update in config.py
```
aliyun_ak=""
aliyun_sk=""
domain = 'mydomain.com'
name_ipv4 = "subdomain"
name_ipv6 = "www"
```
Then run the dns updater every 5 minutes:
```
watch -n 300 python3 update_dns.py
```