domaintrails.core.recon package

Submodules

domaintrails.core.recon.dns_history module

class domaintrails.core.recon.dns_history.DnsHistory(domain: Optional[str] = None)

Bases: object

This class is used to collect information from server related to dns history, we are using http://www.hosterstats.com service for grabbing records.

domain_history() list

This function download history from server for given domain name :return: function returns list of records as part of its output :rtype: list

domaintrails.core.recon.dnslg module

class domaintrails.core.recon.dnslg.DnsLG(domain: Optional[str] = None, get_authority: bool = False)

Bases: object

Information: This class collect information about all the dns services currently available for domain. Following is the list of dns classes which are covered as part of this dns, Classes a -> Host Address (A records) cert -> Certificate (CERT records) dhcid -> DHCP Identifier (DHCID records) cname -> Canonical Name (CNAME records) aaaa -> Pv6 Host Address (AAAA records) dlv -> DNSSEC Lookaside Validation record (DLV records) dname -> Delegation name (DNAME records) dnskey -> DNS Key record (DNSKEY records) ds -> Delegation Signer (DS records) hinfo -> Host Information (HINFO records) hip -> Host Identity Protocol (HIP records) kx -> Key eXchanger record (KX records) loc -> Location record (LOC records) mx -> Mail Exchange record (MX records) naptr -> Name Authority Pointer (NAPTR records) ns -> Name Servers (NS records) nsec -> Next-Secure record (NSEC records) nsec3 -> NSEC record version 3 (NSEC3 records) nsec3param-> NSEC3 parameters (NSEC3PARAM records) opt -> Option record (OPT records) talink -> Trust Anchor LINK (TALINK records) tlsa -> TLSA records txt -> Text record (TXT records) ta -> DNSSEC Trust Authorities (TA records) rrsig -> Resource Records Signature (RRSIG records) soa -> Start of Authority (SOA record) spf -> Sender Policy Framework (SPF records) srv -> Service Locator (SRV records) sshfp -> SSH Public Key Fingerprint (SSHFP records) above classes are part of this service.

download_report() dict

This function create different threads by using multiprocessing, and it performs multiple api request from server, response is collected and parsed according usage. This function also slices data as per requirements we are ignoring different classes from api response. :return: a result dict is returned which contains records :rtype: dict

domaintrails.core.recon.domain_available module

class domaintrails.core.recon.domain_available.DomainAvailable(domain: Optional[str] = None)

Bases: object

This class check if a domain is available or not. We are using mdchecker.com for collecting information from server.

property domain_available: bool

This function check domain availability from server, and return result. :return: True/ False / raise exception in case of failure :rtype: bool

Module contents