bigcommerce/powerdns-on-rails — pull request #20 by philipmuir (2013-04-23 02:29:03+00:00)
Title: Changed ipv6? method to use regex to check for a valid IPv6 IP.

IPAddr class will use IPSocket.getaddress() to resolve potential hostnames if a string is passed in to the constructor. This will slowdown record creation waiting for dns lookups to fail when creating new domains/records.

regex based on this gists parent: https://gist.github.com/philipmuir/5440266