KimNorgaard / validates_hostname

Extension to ActiveRecord::Base for validating hostnames and domain names
MIT License
38 stars 12 forks source link

IP v4/v6 support? #5

Closed take-five closed 9 years ago

take-five commented 9 years ago

Hi.

I wonder if there are any plans to support validations of hostnames passed as IPv4/v6?

KimNorgaard commented 9 years ago

Not really. You have Resolv::IPv[4|6]::Regex for that.