/SignalFlare

gem for keeping CloudFlare DNS records updated on dynamic IPs

Primary LanguageRubyMIT LicenseMIT

SignalFlare v1.2.0

Build Status

Keep CloudFlare DNS records updated on dynamic IPs

SignalFlare homepage

SignalFlare on RubyGems

Usage

$ gem install SignalFlare

$ cat test.rb
require 'SignalFlare'

hostname = 'test.parodybit.net'
api_key = 'not_a_real_api_key'
email = 'kirk@parodybit.net'

cloudflare = SignalFlare.new(api_key, email)
puts cloudflare.update_ip(hostname)

$ ruby test.rb
IP has been updated from 127.0.0.1 to 202.194.56.202