'output is the shell output of command Dnswalk.'

def parseOutputString(self, output, debug=False):

    parser = DnswalkParser(output)
    for item in parser.items:
        if (item['type'] == 'A'):
            h_id = self.createAndAddHost(item['ip'])
            i_id = self.createAndAddInterface(h_id, item['ip'], ipv4_address=item['ip'], hostname_resolution=item['host'])
        elif (item['type'] == 'info'):
            h_id = self.createAndAddHost(item['ip'])
            i_id = self.createAndAddInterface(h_id, item['ip'], ipv4_address=item['ip'], hostname_resolution=item['host'])
            s_id = self.createAndAddServiceToInterface(h_id, i_id, 'domain', 'tcp', ports=['53'])
            self.createAndAddVulnToService(h_id, s_id, 'Zone    transfer', desc='A    Dns    server    allows    unrestricted    zone    transfers', ref=['CVE-1999-0532'])
    return True
