https://github.com/alswl/ansible-dnspod
simple dnspod module for ansible
https://github.com/alswl/ansible-dnspod
Last synced: 6 months ago
JSON representation
simple dnspod module for ansible
- Host: GitHub
- URL: https://github.com/alswl/ansible-dnspod
- Owner: alswl
- Created: 2016-06-03T06:11:01.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-06T02:49:12.000Z (about 10 years ago)
- Last Synced: 2025-07-14T06:35:40.212Z (about 1 year ago)
- Language: Python
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible-dnspod
Simple dnspod module for ansible.
Use DNSPod API to control domain.
## Require
* DNSPod token: get it from [https://www.dnspod.cn/console/user/security](https://www.dnspod.cn/console/user/security)
## Usage
- action: `./library/dnspod.py -a 'token=12345,00000000000000000000000000000000 sub_domain=test base_domain=example.cn state=present record_type=A value=10.1.1.1'`
- action: `./library/dnspod.py -a 'token=12345,00000000000000000000000000000000 sub_domain=test base_domain=example.cn state=absent'`
## Ref
* [DNSPod API Document](https://www.dnspod.cn/docs/index.html)