package org.minidns.dnslabel

DNS label representation, validation and punycode conversion, from the MiniDNS 1.0.0 core subset (see org.minidns).


  • Class
    Description
    Represents an ASCII label in DNS.
    A DNS label is an individual component of a DNS name.
    Thrown when a DNS label exceeds the maximum length.
    Represents a fake A-label in DNS labels.
    A fake A-label is a special type of XN-label used for handling certain edge cases in internationalized domain names.
    A LDH (Letters, Digits, Hyphen) label, which is the classical label form.
    A DNS label with a leading or trailing hyphen ('-').
    A DNS label which contains more than just letters, digits and a hyphen.
    A Non-Reserved LDH label (NR-LDH label), which do not have "--" in the third and fourth position.
    A Non-LDH label which does not begin with an underscore ('_'), hyphen ('-') or ends with an hyphen.
    A reserved LDH label (R-LDH label), which have the property that they contain "--" in the third and fourth characters.
    A DNS label which begins with an underscore ('_').
    A label that begins with "xn--" and follows the LDH rule.