1. A method of classifying a domain name, comprising: identifying a dictionary set of character-based n-grams, wherein each character-based n-gram in the dictionary set of character-based n-grams is associated with a pre-established first classification probability value and a pre-established second classification probability value, wherein the pre-established first classification probability value is indicative of whether a corresponding character-based n-gram of the dictionary set is likely to be in a first domain name classification, wherein the pre-established second classification probability value is indicative of whether the corresponding character-based n-gram of the dictionary set is likely to be in a second domain name classification; identifying a domain set of character-based n-grams corresponding to a domain name string, the domain name string being associated with a domain name; classifying the domain name in the first domain name classification if the pre-established first classification probability value of a character-based n-gram in the dictionary set corresponding to a selected character-based n-gram in the domain set is higher than a first classification predetermined threshold; and classifying the domain name in the second domain name classification if the pre-established second classification probability value of the character-based n-gram in the dictionary set corresponding to the selected character-based n-gram in the domain set is higher than a second classification predetermined threshold.