https://github.com/rokoucha/cloudflare-ddns
Create or Update dns record in cloudflare.
https://github.com/rokoucha/cloudflare-ddns
cloudflare dns
Last synced: about 1 month ago
JSON representation
Create or Update dns record in cloudflare.
- Host: GitHub
- URL: https://github.com/rokoucha/cloudflare-ddns
- Owner: rokoucha
- License: mit
- Created: 2018-07-17T01:55:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-08T12:18:53.000Z (almost 2 years ago)
- Last Synced: 2024-06-21T20:06:07.493Z (over 1 year ago)
- Topics: cloudflare, dns
- Language: Go
- Homepage:
- Size: 47.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cloudflare-ddns
Create or Update dns record in cloudflare.
## How to use
```plain
Usage:
cloudflare-ddns [OPTIONS] ZONE_NAME
Application Options:
-d, --dry-run Don't create or update DNS record
-e, --external Use external address instead of interface address
-n, --hostname= Name to use instead of hostname
-i, --interface= Interface to use address
-4, --ipv4 Create or update only A record
-6, --ipv6 Create or update only AAAA record
-p, --prefix= Prefix of hostname
-s, --suffix= Suffix of hostname
Help Options:
-h, --help Show this help message
```
The record name will be of the form `[prefix.]hostname.[suffix.]ZONE_NAME`.
## dev dependencies
- Go
## dependencies
- Internet connection(IPv4 or IPv6)
- Cloudflare accounts
## How to build
- `go mod download`
- `go build`
## License
Copyright (c) 2022 Rokoucha
Released under the MIT license, see LICENSE.