YoDNSConf and Ruby's zonefile Gem

I'm pretty excited about a new Ruby gem I've found which can directly parse BIND format zonefiles. Aptly enough, its called "zonefile", and can handle pretty much everything I need it to.

I've started integrating it into the Ruby/Sinatra branch of YoDNSConf, and so far, so good! The idea of manipulating raw zonefiles will make things much easier - I can even imagine using git to keep track of changes, and vlad to push them out!

UPDATE: Its worth mentioning that the zonefile gem does a great job of defining what properties each record type can have:

* SOA

   - :ttl, :primary, :email, :serial, :refresh, :retry, :expire, :minimumTTL

* A

   - :name, :ttl, :class, :host

* MX

   - :name, :ttl, :class, :pri, :host

* NS

   - :name, :ttl, :class, :host

* CNAME

   - :name, :ttl, :class, :host

* TXT

   - :name, :ttl, :class, :text

* A4 (AAAA)

   - :name, :ttl, :class, :host

* SRV

   - :name, :ttl, :class, :pri, :weight, :port, :host
By Albert on June 14, 2010 6:30 PM

Categories:

Products

Categories