Skip to content

Commit

Permalink
#182 support fqdn datatype in DNSDB domain_name analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Feb 9, 2018
1 parent a77bdb8 commit a91a980
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion analyzers/DNSDB/DNSDB_DomainName.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@

},
"description": "Use DNSDB to fetch historical records for a domain.",
"dataTypeList": ["domain"],
"dataTypeList": ["domain", "fqdn"],
"command": "DNSDB/dnsdb.py"
}
2 changes: 1 addition & 1 deletion analyzers/DNSDB/dnsdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self):
def execute_dnsdb_service(self, client):
data = self.getData()

if self.service == 'domain_name' and self.data_type == 'domain':
if self.service == 'domain_name' and self.data_type in ['domain', 'fqdn']:
return client.query_rrset(data)
elif self.service == 'ip_history' and self.data_type == 'ip':
return client.query_rdata_ip(data)
Expand Down

0 comments on commit a91a980

Please sign in to comment.