Subject: | Unable to resolve hostname containing underscore |
Date: | Wed, 11 Jun 2014 13:27:13 +0200 |
To: | bug-NetAddr-IP [...] rt.cpan.org |
From: | Francesco Schiavarelli <grankio [...] gmail.com> |
Hello,
NetAddr::IP::Lite won't resolve hostnames containing
the underscore character.
I know that per IETF RFCs underscores are not allowed
within hostname, but they should be allowed in domain
names (see this Wikipedia page
<http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names>).
Given that:
- every other piece of GNU software I've been working with
is tolerant in respect to the aforementioned restriction
- underscores should be allowed in domain names
I'm asking if you are willing to accept upstream the attached
patch that does not prevent NetAddr from working when
instantiated with hostname containing underscores.
thank you
regards
Message body is not shown because sender requested not to inline it.