Skip to content

A simple utility to manage dynamic DNS records in Digital Ocean DNS.

License

Notifications You must be signed in to change notification settings

jeroenj/dodyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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:

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:

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:

dodyndns --domain example.com --name host --ipv6 2000:2001::1 --no-ipv4

Contributing

  1. Fork it (https://github.com/jeroenj/dodyndns/fork)
  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 Jeroen Jacobs - creator, maintainer

About

A simple utility to manage dynamic DNS records in Digital Ocean DNS.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published