Socket
Book a DemoInstallSign in
Socket

cloudflare-dynamic-dns

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudflare-dynamic-dns

0.1.0
bundlerRubygems
Version published
Maintainers
1
Created
Source

CloudFlare::DynamicDNS

Build Status

Use the power of cloudflare to power your dynamic DNS. Don't rely on shady 3rd party tools on the internet that charge you money. Cloudflare also provides a way to hide your ip from the world along with DDOS protection. Should i say anymore?

Installation

You need a computer inside your network to run this, ideally something small and tiny, i use a raspberry pi 3b+ in my network, you can get one for under 40$. In Raspbian, you can install cloudflare-dynamic-dns by running the following commands:

sudo apt-get install update
sudo apt-get install -y ruby
sudo gem install cloudflare-dynamic-dns

Ruby compatibility

cloudflare-dynamic-dns is tested against the following ruby versions:

2.2.9, 2.3.1, 2.3.3, 2.4.3, 2.5.0, 2.5.1

please raise a feature request if you want a different ruby version supported.

You should then be able to invoke cloudflare-dynamic-dns in your command line:

cloudflare-dynamic-dns

Configuration

cloudflare-dynamic-dns looks for a file called /etc/cloudflare-dynamic-dns.conf. This file needs to be readable by the user executing this, else you will need to use sudo cloudflare-dynamic-dns which is generally not recommended.

Here is a sample configuration of cloudflare-dynamic-dns:

email=email-you-registered@with-cloudflare.com
key=your-api-key
zone=example.com
hostname=kickass.example.com

You can find the API key in cloudflare by going to My Profile click the user icon and it should be in the bottom of the file titled Global API Key. I recommend manually creating a entry in the dns section with 127.0.0.1 of your domain before running the command.

run cloudflare-dynamic-dns and you should see your ip updated.

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install. To release a new version, update the version number in version.rb, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/cloudflare-dynamic-dns. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Cloudflare::Ddns project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

FAQs

Package last updated on 14 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.