resources background

Blog

SecurityTrails Alternative for DNS Data: What We Tested

Written By Nadeem Khan, WhoisFreaks Team Published: December 03, 2026, Last Updated: December 03, 2026

We tested WhoisFreaks as a SecurityTrails alternative for current DNS lookups by running the same two hostnames through both services on 30 November 2026. WhoisFreaks returned records that the SecurityTrails DNS page left out: the CNAME behind an aliased hostname and the full SOA record, with a TTL on every record. SecurityTrails labels each address with the organization that owns it, which WhoisFreaks does not.

WhoisFreaks also costs less per lookup. It charges 1 credit per live DNS lookup, which works out to $0.0015 on its $75 plan of 50,000 monthly credits, and new accounts start with 500 free credits. SecurityTrails' lowest listed plan, Professional, costs $500 a month for 20,000 queries, or $0.025 per query, according to the SecurityTrails pricing page when we checked it on 27 November 2026. This comparison covers current DNS records only, and the test method is at the end.

SecurityTrails vs WhoisFreaks for current DNS at a glance

WhoisFreaks DNS lookup APISecurityTrails
Record types in a current lookupA, AAAA, MX, NS, CNAME, SOA, TXT, SPF; PTR by IP addressA, AAAA, MX, NS, SOA, TXT (API reference)
Choose record types per requestYes: type=all or a comma-separated listNot described in its API reference
Read from the zone's authoritative nameserversYes: isAuthoritative=trueNot described in its API reference
Follow CNAME chainscnameDepth, up to 4 hopsNot described in its API reference
CNAME for www.stovestoreonline.com (30 Nov 2026)ShownNot shown on the DNS page
TTL on each recordYesNot shown on the DNS page
SOA fieldsPrimary nameserver, admin, serial, refresh, retry, expire, minimum, TTL"ttl" and email only on the DNS page
Organization label on addresses and hostsNoYes
First-seen date per record typeNoYes (API reference)
Entry price500 free credits; 5,000 credits for $10 a monthProfessional: $500 a month for 20,000 queries
Cost per lookup$0.0015 to $0.002 (1 credit), plus 1 credit per CNAME hop followed, up to 3 credits$0.023 to $0.025 per query

SecurityTrails cells come from its DNS pages (captured 30 November 2026), its API reference for the Get Domain endpoint and its pricing page (both read 27 November 2026).

Authoritative lookups: records straight from the zone

An authoritative nameserver is the server that holds a zone's records. A recursive resolver, the kind most lookups go through, fetches those records and caches them for their TTL (time to live), counting the TTL down until the copy expires. A cached answer can be seconds or minutes old, and after a record changes, resolvers keep serving the old value until their copy runs out.

Setting isAuthoritative=true on the WhoisFreaks DNS lookup API sends the query to the zone's own nameservers instead of a recursive resolver. The TTL in the response is the zone's full value rather than a cached remainder. Answers read this way are not added to the WhoisFreaks historical DNS database. The DNS lookup API documentation lists the parameter and its defaults.

Our test showed the difference within half a minute. A standard lookup of www.stovestoreonline.com returned its CNAME with a TTL of 262 seconds, a cached copy. An authoritative lookup 24 seconds later returned the same CNAME with a TTL of 300, the value the zone publishes. A second test on hybrit.co.uk returned identical records and TTLs in both modes, because the resolver happened to hold a fresh copy. The TTLs only differ while a resolver's copy is part way through its TTL, and a standard answer alone does not show whether it came from a fresh copy.

Reach for an authoritative read when a cached answer could mislead you:

  1. Right after changing a record, such as an MX move or a DNS cutover, to confirm what the zone now publishes.
  2. During an incident, when you need the records a zone serves now and not what a resolver remembers.
  3. Before a planned change, to read the full TTL you will have to wait out.

SecurityTrails' API reference for its current DNS endpoint (Get Domain) takes a hostname and an API key, and describes no option for reading from authoritative nameservers.

Diagram: for www.stovestoreonline.com, a recursive resolver returns a cached CNAME with TTL 262; the zone's nameserver returns TTL 300

CNAME chains: seeing where an alias points

A CNAME (canonical name) record makes one hostname an alias of another. www.stovestoreonline.com is an alias of www.stovestoreonline.com.cdn.hstgr.net, a host on Hostinger's content delivery network (CDN), and the CDN host holds the A and AAAA records.

The SecurityTrails DNS page for www.stovestoreonline.com, captured by our team on 30 November 2026, listed two A records (191.101.104.225 and 212.1.212.192) under Hostinger International Ltd. and two AAAA records as if they belonged to the hostname. It showed no CNAME, so the CDN hostname the addresses belong to did not appear anywhere on the page.

The alias target matters in an investigation. It tells you which provider serves the hostname, and it is the record to check for subdomain takeover risk, where a CNAME still points at a service that was shut down. Our guide to dangling CNAME records behind subdomain takeovers covers that check.

WhoisFreaks shows the alias in both lookup modes, and cnameDepth controls whether an authoritative lookup also returns the records at the end of the chain:

WhoisFreaks lookup (30 Nov 2026)cnameDepthWhat came back
Standard0CNAME (TTL 300) plus the CDN host's A and AAAA records (TTL 60)
Standard1The same records, with the CNAME at TTL 262
Authoritative0The CNAME only (TTL 300)
Authoritative1CNAME (TTL 300), the CDN host's A and AAAA records (TTL 60), and the SOA record for hstgr.net

A standard lookup already follows the alias, because the recursive resolver does it. An authoritative lookup asks the zone that holds the CNAME, and that zone only answers for its own names, so it stops at the alias unless cnameDepth tells the API to keep going. cnameDepth follows up to 4 hops. The authoritative CNAME-only answer looked like this:

{
  "name": "www.stovestoreonline.com",
  "type": 5,
  "dnsType": "CNAME",
  "ttl": 300,
  "rawText": "www.stovestoreonline.com.\t300\tIN\tCNAME\twww.stovestoreonline.com.cdn.hstgr.net.",
  "target": "www.stovestoreonline.com.cdn.hstgr.net."
}

The CDN returned a different set of addresses on every run, two in some responses and four in others, so compare the chain and the TTLs rather than the IP addresses. Root domains rarely carry a CNAME, which is why this example uses a www hostname.

cnameDepth diagram: depth 1 follows www.stovestoreonline.com's CNAME to the CDN host and its A and AAAA records; depth 0 stops at the CNAME

SOA details and TTLs on every record

The SOA (start of authority) record names a zone's primary nameserver and administrator and holds its timing values: the serial, which is the zone's version number, plus refresh, retry, expire and minimum.

For hybrit.co.uk, the WhoisFreaks response carried the complete record:

SOA fieldValue
Primary nameserverns41.domaincontrol.com
Admindns.jomax.net
Serial2026091400
Refresh28800
Retry7200
Expire604800
Minimum600
Record TTL3600

The SecurityTrails DNS page for hybrit.co.uk showed the SOA as "ttl: 28800" with the email dns.jomax.net, and nothing else. The SOA record's TTL is 3600: both WhoisFreaks lookup modes returned 3600, and so did the Google and Cloudflare public resolvers when we queried them the same day. 28800 is the zone's refresh interval.

The same gap shows on the other records. Every one of the 18 records WhoisFreaks returned for hybrit.co.uk carried its TTL: 600 seconds for the A, MX and TXT records and 3600 for NS and SOA. The SecurityTrails page lists the same A, NS, MX and TXT values without TTLs.

SPF policies split across TXT strings

SPF (Sender Policy Framework) policies are published in TXT records. A single string in a TXT record holds at most 255 characters, so a long policy is split into several strings, and RFC 7208, section 3.3 says those strings are joined without adding spaces.

hybrit.co.uk publishes its policy as two strings, and the split falls inside an address: the first string ends with ip4: and the second starts with 195.149.90.22. Joined, the policy reads ip4:195.149.90.22. The SecurityTrails DNS page displayed the policy with a space at the join, as ip4: 195.149.90.22, so text copied from that page is not the policy mail servers check.

WhoisFreaks returns the strings as the zone publishes them, alongside the raw record:

"strings": [
  "v=spf1 include:spf.protection.outlook.com (...) ip4:195.149.73.5 ip4:",
  "195.149.90.22 ip4:195.149.90.23 (...) ip4:84.45.124.70 ~all"
]

(...) marks text removed from this excerpt. Both services returned the same 13 TXT records for the domain.

Where SecurityTrails' DNS data goes further

SecurityTrails adds context to each value that the WhoisFreaks live lookup does not. Its DNS page groups addresses and hosts under the organization that operates them: Google LLC for the hybrit.co.uk A record, Microsoft Corporation for its mail server and GoDaddy for its nameservers. Its API reference documents a count of other domains that share each IP address, mail server and nameserver, which helps when you are pivoting from one domain to related infrastructure, and a first-seen date for each record type.

Its plans list a query language (DSL) and associated domains for searching across its dataset. If your work centers on those pivots rather than on reading the records a zone publishes right now, SecurityTrails covers them. SecurityTrails is part of Recorded Future, which announced the acquisition in a press release on 4 January 2022.

SecurityTrails pricing vs WhoisFreaks credits

PlanPriceIncludesCost per lookup
SecurityTrails Professional$500 a month20,000 queries$0.025
SecurityTrails Business$1,500 a month65,000 queries$0.023
SecurityTrails EnterpriseBy quoteNot publishedNot published
WhoisFreaks sign-upFree500 creditsn/a
WhoisFreaks 5K monthly$10 a month5,000 credits$0.002
WhoisFreaks 50K monthly$75 a month50,000 credits$0.0015
WhoisFreaks 50K one-time$15050,000 credits that do not expire$0.003

SecurityTrails prices are from its pricing page on 27 November 2026, and the cost per lookup assumes one Get Domain call counts as one query, which the page does not spell out. WhoisFreaks costs are for a standard live lookup at 1 credit. Following a CNAME chain adds 1 credit for each further name the lookup reaches, up to a ceiling set by cnameDepth: 2 credits at a depth of 1 or 2, and 3 at a depth of 3 or 4. The ceiling is charged before the lookup runs and anything it did not reach is refunded, so a name with no alias costs 1 credit whatever depth you set. Our one-hop example, www.stovestoreonline.com with cnameDepth=1, costs 2 credits, or $0.003 on the 50K monthly plan. Setting isAuthoritative does not change the cost. The credit cost of each DNS lookup is listed in the documentation.

How we tested

We compared current DNS lookups on two hostnames, chosen for two cases a lookup can get wrong: hybrit.co.uk, whose SPF policy is split across TXT strings, and www.stovestoreonline.com, a CNAME alias of a CDN host.

  1. WhoisFreaks: seven calls to the live DNS lookup API on 30 November 2026 with type=all, covering isAuthoritative true and false and cnameDepth 0 and 1. We kept the raw JSON responses.
  2. SecurityTrails: its DNS pages for both hostnames, captured by our team on 30 November 2026. We did not call the SecurityTrails API, so the page results describe its web interface.
  3. SecurityTrails documentation: the Get Domain API reference (last updated 5 June 2025) and the pricing page, both read on 27 November 2026.
  4. Reference answers: the Google and Cloudflare public resolvers over DNS over HTTPS, queried on 30 November 2026.

The results reflect one day. CDN addresses rotate between queries, and either service can change its pages or plans.

Check a hostname yourself

The free DNS lookup tool has the same two settings as the API: Authoritative, and Follow CNAME aliases for up to 4 links. Run an aliased hostname or a domain with a long SPF record through it and compare the result with what you see elsewhere. For API access, the 500 sign-up credits cover your first tests, and the WhoisFreaks API plans list monthly and one-time credit packs.

Frequently Asked Questions

Explore frequently asked questions to better understand our features, functionality, and usage.

Is the SecurityTrails API free?

No free plan appears on the SecurityTrails pricing page: its listed plans start at $500 a month (checked 27 November 2026). Its sign-up page offers an account but does not state a free query allowance. WhoisFreaks gives new accounts 500 free credits, enough for 500 standard live DNS lookups.