DNS History: Exploring Your Domain's Past by inspecting DNS trails​​ 

DNS History: Exploring Your Domain's Past by inspecting DNS trails​​ 

What insights can DNS history reveal about domain names? As the term suggests, this record tracks all modifications to a domain’s DNS settings over time, offering invaluable information for both security and strategy.​​ 

That’s why today we will explore the concept of DNS history, the type of DNS records involved, and the various tools you can use to access this information. With a focus on practical application, you’ll learn how to leverage DNS historical data to enhance domain management and competitive positioning.​​ 

Key Takeaways​​ 

What is DNS History?​​ 

DNS History catalogs and stores the evolution of domain names within the DNS, including their changes in IP addresses and settings, which is essential for cybersecurity analysis and domain tracking.​​ 

What is DNS History?​​ 

Benefits of historical DNS records​​ 

Examining DNS history provides a record of the changes and modifications made to a domain’s DNS settings over time. Web administrators and owners can leverage this insight to:​​ 

The history of the domain name system (DNS) is akin to taking a journey through the lifespan of your domain and can provide valuable information for website management and security.​​ 

Varias bases de datos albergan un auténtico tesoro de cambios en el DNS, algunos de los cuales se registran desde 2002. Por ejemplo, SecurityTrails estuvo grabando diligentemente y estuvo en la cima del sector de la recopilación de información sobre DNS desde mediados de 2008 y en la solicitud WHOIS desde 2002. En conjunto, estas bases de datos contienen miles de millones de registros DNS y WHOIS, esperando ser explorados.​​ 

The Importance of DNS Records​​ 

DNS records, the silent workhorses of the internet, quietly map domain names to IP addresses and aid in the resolution process for a multitude of services. The A records, for instance, map hostnames to a 32-bit IPv4 address and are the most commonly used DNS records, whereas AAAA records serve a similar purpose for the 128-bit IPv6 address space.​​ 

Other records like MX records list mail exchange servers that accept email for a domain, crucial for email routing. NS records delegate a DNS zone to use specific authoritative name servers for domain name resolution, and CNAME records alias one domain name to another, facilitating domain redirection. PTR records, on the other hand, map IP addresses back to domain names for verification or troubleshooting.​​ 

The analysis of these historical DNS records plays a significant role in DNS forensics, particularly in tracking the movements of cybercriminals.​​ 

Top Free Tools for Viewing DNS History​​ 

Having grasped the significance of DNS history, how can we gain access to it? Thankfully, several free tools facilitate researching new domains, checking for suspicious activities, and understanding your domain’s nameserver history. Some of these include:​​ 

Each of these tools offers unique features to retrieve and analyze historical DNS data, making them invaluable resources for any domain owner.​​ 

SecurityTrails DNS Trails​​ 

DNS Trails​​ 

DNS Trails (now owned by SecurityTrails), a top-tier tool for accessing DNS history, offers users:​​ 

This tool is especially useful for those needing to track changes over time, such as monitoring updates in txt records.​​ 

Complete DNS​​ 

Complete DNS is yet another powerful tool that aids in comprehending domain history and monitoring changes over time. Its standout feature is the ability to offer a timeline of domain changes, which can be crucial for historical analysis. Users are provided with 100 free queries each month under Complete DNS’s free tier, allowing them to perform basic domain history checks without any cost.​​ 

For amplified user experience, they also offer a subscription plan with additional features.​​ 

WhoISrequest​​ 

WhoISrequest streamlines the task of evaluating DNS history. It allows users to access the service without the need to create an account, offering convenience at your fingertips. However, do note that the service is limited to 5 lookups within a certain timeframe, restricting the volume of data that can be retrieved in a short period.​​ 

ViewDNS .info​​ 

Rounding off the list of top free dns history tools for viewing DNS history is ViewDNS .info. It is a simple online tool that offers the following features:​​ 

Its user-friendly interface allows you to perform these tasks without needing to log in.​​ 

Besides, it also provides a Port Scanner, Traceroute tool, and DNSSEC Test for comprehensive network information queries, all without requiring an account.​​ 

SecurityTrails DNS History API​​ 

El endpoint de la API de Historia DNS de SecurityTrails forma parte de la API SecurityTrails, diseñado para ofrecer información histórica completa sobre los registros DNS de un nombre de host dado. Este servicio permite recuperar datos DNS pasados para varios tipos de registros, junto con estadísticas como el recuento de recursos específicos en comparación con datos actuales.​​ 

DNS History API Endpoint​​ 

SecurityTrails provides the following features:​​ 

The best thing about the SecurityTrails API, is that it can be used from almost any environment, with a simple curl request:​​ 

curl --request GET \

     --url https://api.securitytrails.com/v1/history/oracle.com/dns/a \
     --header 'accept: application/json'

DNS Spy​​ 

DNS Spy, an elite DNS monitoring service, offers the following features:​​ 

DNS Spy provides the following features:​​ 

DNS Spy​​ 

Historical DNS Data Analysis Tips​​ 

Conducting regular audits of DNS configurations is vital to maintain their accuracy and currency, thereby helping to ward off potential performance and security issues.​​ 

Recovering lost DNS records with DNS Trails​​ 

Modern DevOps are not only responsible for developing and debugging your app, but also to manage your IT infrastructure and services, like the DNS servers along with their dns zones and records.​​ 

Managing domain names and their dns zones can be tricky sometimes, once you edit the DNS zone and changes are propagated there is no way back to know what value they had.​​ 

Supongamos que solo necesitabas conocer la IP antigua y la propagación DNS ya se hizo hace horas o días. Intentas hacer ping al registro DNS y ves que ya se resuelve a la nueva IP en todas las regiones globales; Esto ocurre porque fue cambiado ayer y ahora está completamente propagado.​​ 

There is a fast way to know your old DNS Records using DNS Trails historical data, exactly the same as @jamesfmackenzie did for his site. He lost his DNS records and by simply using DNSTrails historical dns data, he was able to recover the records in just seconds:​​ 

Lost your DNS records - DNS History can help to recover those​​ 

How to perform a DNS History Lookup​​ 

No matter if you are investigating a potentially malicious domain, or if you need to recover your lost DNS records, the SecurityTrails DNS historical database can help. Just follow these steps:​​ 

SecurityTrails Historical DNS Records​​ 

Your old and current DNS records values should be displayed and ordered by date on the right side, as you see below:​​ 

DNS Trails Records Example​​ 

Identifying Security Risks​​ 

Having access to historical DNS data can be instrumental not only in finding DNS security issues, but also on the rest of your infrastructure, apps and services. Some of the key things you can use it for include:​​ 

Another area where DNS intelligence proves essential is in monitoring emerging assets on your cloud infrastructure and the challenges companies face in keeping track of them. We covered this topic in our blog post 'The Cloud Has a Complicated Attack Surface Management'.​​ 

Investigating cyber crime​​ 

Cyber Crime Investigation uses historical DNS records to track down the path of domain names across different hosting providers and servers.​​ 

One of the best examples of this, are top leading investigations from private and public agencies, such as Krebsonsecurity, which in 2019 uncovered a series of Widespread DNS Hijacking Attacks with the help of DNS historical data.​​ 

Tracking Competitors​​ 

Keeping an eye on competitors’ DNS changes can reveal:​​ 

Historical DNS data can unveil a competitor’s past hosting decisions, domain acquisition patterns, and SEO tactics which have contributed to their current market standing. By analyzing historical DNS information, businesses can gain valuable insights to inform their own strategies.​​ 

Summary​​ 

In this article we've explored what is DNS history, its benefits and main use cases, along with top free tools and paid services. From understanding the importance of regular DNS audits to uncovering security risks and competitor strategies, we have grasped the power that DNS history holds.​​ 

Taking DNS History to the Next Level​​ 

Recorded Future’s Attack Surface Intelligence offers the most comprehensive DNS historical database on the planet. Not only does it use this information to alert you about new domains and assets emerging in your cloud infrastructure, but it also notifies you when any new critical vulnerabilities and risks appear on any of them. Book your demo today!​​ 

Esteban Borges​​ 

Esteban Borges​​ 

Esteban is a seasoned security researcher and IT professional with over 20 years of experience, specializing in hardening systems and networks, leading blue team operations, and conducting thorough attack surface analysis to bolster cybersecurity defenses. He's also a skilled marketing expert, specializing in content strategy, technical SEO, and conversion rate optimization. His career includes roles as Security Researcher and Head of Marketing at SecurityTrails, before joining the team at Recorded Future.​​