https://github.com/jeroenj/dodyndns
A simple utility to manage dynamic DNS records in Digital Ocean DNS.
https://github.com/jeroenj/dodyndns
crystal digitalocean dns dynamic-dns
Last synced: 8 months ago
JSON representation
A simple utility to manage dynamic DNS records in Digital Ocean DNS.
- Host: GitHub
- URL: https://github.com/jeroenj/dodyndns
- Owner: jeroenj
- License: mit
- Created: 2020-05-12T20:05:52.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-11-08T21:58:37.000Z (over 3 years ago)
- Last Synced: 2025-01-29T10:18:15.477Z (over 1 year ago)
- Topics: crystal, digitalocean, dns, dynamic-dns
- Language: Crystal
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# dodyndns
A simple utility to manage dynamic DNS records in Digital Ocean DNS.
## Usage
For all calls either the `DIGITALOCEAN_ACCESS_TOKEN` environment variable or the `--access-token` option needs to be set. In the examples below it is assumed that `DIGITALOCEAN_ACCESS_TOKEN` is set.
Set current public IPv4 and IPv6 records for `host.example.com`:
```sh
dodyndns --domain example.com --name host
```
Use `--no-ipv4` or `--no-ipv6` to explicitly disable either from being set.
To force setting the address to a custom IPv4 address and the automatically resolved IPv6 address use the following:
```sh
dodyndns --domain example.com --name host --ipv4 123.123.123.123
```
To force setting the address to a custom IPv6 address and the automatically resolved IPv4 address use the following:
```sh
dodyndns --domain example.com --name host --ipv6 2000:2001::1
```
To force setting the address to a custom IPv6 address and the not setting the IPv4 address use the following:
```sh
dodyndns --domain example.com --name host --ipv6 2000:2001::1 --no-ipv4
```
## Contributing
1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
## Contributors
- [jeroenj](https://github.com/jeroenj) Jeroen Jacobs - creator, maintainer