keepcalculator

06 Numbers and Powers

What DNS Records Reveal About a SaaS

Card No. 06·61820 · Updated · Standard formula, shown below

DNS records can reveal a surprising amount about a SaaS product’s underlying infrastructure, third-party services, security posture, and even its geographic footprint. By querying a domain’s DNS, you can identify its hosting provider, email service, content delivery network, and security tools—information that is valuable for competitive analysis, vendor due diligence, and troubleshooting.

What DNS Records Exist and What They Mean

DNS (Domain Name System) is the internet’s address book. It translates human-readable domain names into IP addresses and other machine-readable data. Each type of DNS record serves a specific purpose, and together they form a map of a SaaS’s technical stack.

  • A/AAAA records – Map the domain to an IPv4 or IPv6 address. The IP address often reveals the hosting provider (e.g., AWS, Google Cloud, Azure) and sometimes the region.
  • CNAME records – Alias one domain to another. Often point to CDNs or load balancers (e.g., cdn.example.com → example.cloudfront.net).
  • MX records – Specify mail servers. They reveal the email provider (e.g., Google Workspace, Microsoft 365, or a dedicated email security gateway).
  • TXT records – Arbitrary text, commonly used for SPF, DKIM, DMARC (email authentication), and domain verification tokens for services like Google Search Console or Stripe.
  • NS records – Name servers. They show which DNS provider hosts the zone (e.g., Cloudflare, Route 53, or a registrar’s default).
  • SOA record – Start of Authority; includes the primary name server and the administrator’s email address, which can hint at the company’s domain management practices.

How DNS Reveals Hosting and Cloud Providers

The most direct revelation is the IP address in A/AAAA records. You can map an IP to its owner using WHOIS or reverse DNS. For example, an IP in the range 52.0.0.0/8 belongs to Amazon Web Services, while 34.0.0.0/8 is Google Cloud, and 20.0.0.0/8 is Microsoft Azure. Many SaaS companies use a CDN like Cloudflare, which masks the origin IP but still reveals the CDN provider via CNAME records (e.g., example.com → example.cloudflare.net).

This information is useful for:

  • Competitive analysis – See which cloud provider a rival uses, and sometimes their region (e.g., us-east-1 vs. eu-west-1).
  • Vendor due diligence – If a SaaS claims to host data in the EU but its IPs are in the US, that’s a red flag.
  • Troubleshooting – If you’re experiencing latency, knowing the CDN or origin location helps diagnose the issue.

Email Security and Third-Party Services

TXT records are a goldmine. SPF records list the IPs and domains authorized to send email on behalf of the domain. DKIM records (usually a TXT record with a name like default._domainkey) show the signing domain. DMARC records (e.g., _dmarc.example.com) reveal the policy (none, quarantine, reject) and where aggregate reports are sent. These records expose the email service provider—for instance, if SPF includes include:spf.mandrillapp.com, the SaaS uses Mailchimp’s transactional email service.

Beyond email, TXT records are used for domain verification by dozens of services. A record like google-site-verification=... indicates Google Search Console, while stripe-verification=... shows Stripe is used for payments. Security tools like atlassian-domain-verification or statuspage-domain-verification reveal internal tools for support and status pages.

CDN and Load Balancing Clues

Many SaaS products use a CDN to accelerate content delivery and protect against DDoS attacks. CNAME records often point to CDN endpoints: assets.example.com → d111111abcdef8.cloudfront.net (AWS CloudFront), example.com → example.akamaiedge.net (Akamai), or example.com → example.fastly.net (Fastly). Some CDNs use A records with shared IPs, but the IP’s reverse DNS often includes the CDN’s name.

Load balancers also leave traces. A CNAME pointing to internal-lb-123456789.us-east-1.elb.amazonaws.com reveals an AWS Elastic Load Balancer in a specific region. This is useful for understanding scale and architecture—though it’s worth noting that many modern SaaS use Kubernetes or serverless, which may not be directly visible in DNS.

Security Posture and Misconfigurations

DNS can also expose security weaknesses. For example:

  • Missing DNSSEC – If the NS records don’t show DNSSEC (look for DS records at the parent zone), the domain is vulnerable to DNS spoofing.
  • Open DNS resolvers – If the nameservers respond to recursive queries, they can be used for amplification attacks.
  • Subdomain enumeration – By querying common subdomains (e.g., dev.example.com, staging.example.com), you can find unsecured internal tools that may be exposed.
  • SPF misconfigurations – An SPF record with ~all (softfail) or -all (hardfail) indicates the strictness of email authentication. A missing SPF or DMARC record is a sign of poor email security.

However, be careful: a misconfigured DNS can also be a false positive. For instance, a SaaS might intentionally use a third-party email provider that has its own SPF record, and the domain’s SPF might be correct but not include all subdomains.

Geographic Footprint and Data Residency

IP geolocation from A/AAAA records can reveal where a SaaS’s servers are located. This is critical for compliance with data residency laws (e.g., GDPR in Europe, PIPL in China). If a SaaS claims EU data residency but its IPs are in the US, that’s a compliance violation. Conversely, a SaaS that uses a CDN will have edge nodes worldwide, but the origin IP (if not masked) reveals the primary hosting region.

You can also look at the ‘geo’ field in the SOA record’s email address (e.g., hostmaster.example.com) but that’s usually not geographic. Instead, use a WHOIS lookup on the IP to see the registered location. Cloud providers often have regional IP ranges—for instance, AWS’s us-east-1 is in Virginia, eu-west-1 in Ireland, and ap-southeast-1 in Singapore.

How to Perform a DNS Investigation

You don’t need specialized tools. Standard command-line utilities work:

  1. Start with dig or nslookup – Query A, AAAA, MX, TXT, NS, and CNAME records for the domain.
  2. Use dig ANY (if the server supports it) – Some servers don’t return all records with ANY; query each type separately.
  3. Check for subdomains – Use a brute-force wordlist (e.g., dev, api, mail, vpn) with dig to find exposed services.
  4. Look up IP ownership – Use WHOIS or an IP intelligence service to see the cloud provider and region.
  5. Examine CNAME chains – Follow CNAMEs to see the final target; this often reveals CDNs or load balancers.
  6. Check the SOA record – The serial number and refresh times can hint at how actively the zone is managed.

For a more automated approach, online DNS lookup tools can show all records in one page, but they may not show subdomains unless you provide them.

Limitations and What DNS Cannot Tell You

DNS is only a partial picture. It cannot reveal:

  • Application-level details – DNS won’t tell you what framework, database, or API the SaaS uses.
  • Internal architecture – Microservices, container orchestration, and serverless functions are invisible.
  • Dynamic IPs – Some SaaS use dynamic IPs or DNS-based failover, so the IP might change frequently.
  • Intent – A TXT record for Stripe verification could be for a one-time payment, not an ongoing relationship.

Also, many SaaS use a proxy or CDN that hides the origin IP entirely. In that case, you can only see the CDN provider, not the hosting location. And DNS records are public, but they are also cached; changes may not propagate instantly, so what you see might be stale.

Frequently Asked Questions

Can DNS records reveal the exact server location?

Yes, if the A/AAAA records point directly to a cloud provider’s IP, you can geolocate that IP to a specific region (e.g., AWS us-east-1). However, if the SaaS uses a CDN or a reverse proxy, the IP you see is the CDN’s edge server, not the origin. In that case, the origin location is hidden.

What is the most revealing DNS record for a SaaS?

TXT records are often the most revealing because they contain verification tokens and email authentication policies. They can expose third-party services like Google Workspace, Stripe, or Mailchimp. A/AAAA records are also useful for hosting provider identification, but TXT records reveal more about the business’s tooling.

Is it legal to look up someone’s DNS records?

Yes, DNS records are public by design. Anyone can query them. However, using them for malicious purposes (e.g., finding vulnerabilities to exploit) is illegal. For competitive analysis or vendor due diligence, it’s perfectly legitimate.

Can I hide my DNS records from competitors?

You cannot hide DNS records entirely, but you can minimize what they reveal. Use a CDN to mask your origin IP, use a third-party email service that doesn’t expose your internal mail server, and avoid using descriptive subdomains like staging or dev. You can also use a DNS provider that offers privacy features, but the records themselves are always public.

How often do DNS records change?

It depends on the TTL (Time to Live) set on each record. Common TTLs range from 300 seconds (5 minutes) to 86400 seconds (24 hours). When you query, you might get a cached result. For an up-to-date view, use a tool that bypasses the cache or wait for the TTL to expire.

Can DNS records reveal if a SaaS is using a specific cloud provider?

Yes, if the IP address falls within a cloud provider’s published range. For example, AWS publishes its IP ranges, and you can match the IP to a region. If the SaaS uses a CDN, the CNAME often includes the CDN’s domain, which identifies the provider (e.g., .cloudfront.net for AWS CloudFront).

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →