INNER CODE UNIT · Python
build_domain_report
OpenOSINT/OpenOSINT · actors/domain-recon/src/main.py:64
async def build_domain_report(domain: str, rdap_bootstrap: dict | None) -> dict:
"""
Build one domain report, degrading gracefully per data source.
DNS and RDAP are fetched independently — an RDAP failure (unregistered
domain, RDAP server down) does not prevent the DNS/email-security
section of the report, and vice versa. Dork URL generation never fails.
"""
warnings: list[str] = []
domain_exists: bool | None = None
report: dict = {
"domain": domain,
"domainExists": None,
"dnsA": [],
"dnsAaaa": [],
"dnsMx": [],
"dnsNs": [],
"dnsTxt": [],