Per RFC 2181, DNS names can contain underscores. Since the .is_name? class method is intended to inspect the value and tell if it's value for resolution, it should allow underscores in the labels.
Included a test to show that the legitimate case of _ldap._tcp.msflab.local now works as intended.
Per RFC 2181, DNS names can contain underscores. Since the
.is_name?
class method is intended to inspect the value and tell if it's value for resolution, it should allow underscores in the labels.Included a test to show that the legitimate case of
_ldap._tcp.msflab.local
now works as intended.