<commit_before>from scoring_engine.engine.basic_check import BasicCheck


class DNSCheck(BasicCheck):
    required_properties = ['qtype', 'domain']
    CMD = 'dig @{0} -p {1} -t {2} -q {3}'

    def command_format(self, properties):
        return (self.host, self.port, properties['qtype'], properties['domain'])<commit_msg>Fixing Windows 2003 zone transfer/resolving issue<commit_after>from scoring_engine.engine.basic_check import BasicCheck


class DNSCheck(BasicCheck):
    required_properties = ['qtype', 'domain']
    CMD = 'dig +noedns @{0} -p {1} -t {2} -q {3}'

    def command_format(self, properties):
        return (self.host, self.port, properties['qtype'], properties['domain'])
{'fraction_non_alphanumeric': 0.14697406340057637, 'fraction_numerical': 0.01729106628242075, 'mean_word_length': 4.69672131147541, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7459597', 'n_tokens_mistral': 228, 'n_tokens_neox': 217, 'n_words': 57}