Domain name class
This class provides many common domain name string manipulations: Manipulate individual labels in the domain name Serialization and deserialization to and from character and byte strings Subtraction and pruning Domain name compressions as specified in RFC 1035 And more. This class is useful for: Servers Resolver implementations Any software that deals with domain names and their components