On November 24, 2026, Tom Steer of Intruder published research describing how his team took over five US Treasury subdomains: ftp, irssearch, pcp, rdgw and ww5 under treasury.gov. They did not break into anything. They rented IP addresses from Amazon Web Services until they were handed addresses that old Treasury DNS records still pointed at.
The mistake behind it is common and easy to make: a server is shut down, its IP address goes back to the cloud provider, and the DNS record that pointed at it is never removed. This post explains how the takeover worked, why most dangling-record checks would not catch it, and how to look for the same problem in your own zones.
How the Takeover Worked
AWS lets a customer reserve a fixed public IPv4 address, called an Elastic IP, and attach it to a server. When the customer no longer needs it, they release it and it returns to Amazon's pool, where another customer can be given it.
If a DNS record still points at that address, whoever holds the address next receives the traffic for that hostname. Intruder automated the rest:
Allocate an Elastic IP, check whether any DNS record in their target list pointed at it, and release it if not.
Repeat. They cycled through 450,000 unique addresses in 48 hours, about 9,400 an hour, before AWS banned the account.
Keep any address that matched. They found 28 that matched live DNS records belonging to organisations in their bug bounty scope. Almost half belonged to government bodies, and five were the Treasury hostnames.
Intruder puts the cost at "$3 per valid takeover". That is the sweep's total cost divided by its successful matches, not the price of targeting one chosen subdomain. They also note that they covered less than 1% of the Elastic IP space.
With a matched address, they could serve any page they liked under the Treasury hostname. They used that to host proof-of-concept pages for their reports. In Intruder's words, this kind of mistake "can lead to credential theft and worse", because visitors and software trust the name.
Why the Fix Is Yours, Not the Cloud Provider's
Intruder reported the technique to AWS on October 8 and suggested a monthly cap on Elastic IP allocations and abuse restrictions applied across a whole organisation rather than per account. According to Intruder's account, AWS confirmed on November 17 that it had no plans to change anything, because it sees the takeover as depending on customer-side DNS records rather than a problem in its services. Intruder disagrees, and says the issue remains open.
Whichever side you take, the practical result is the same. Nothing at the provider stops someone from cycling through addresses, so the only reliable defence is to make sure none of your DNS records point at an address you have given back.
Why Most Dangling-Record Checks Would Miss This
Most writing about subdomain takeover, and most automated checks, focus on dangling CNAME records: an alias that points at a deleted cloud app or storage bucket. Those can be detected from the outside, because the alias target stops resolving.
An A record pointing at a released IP address gives no such signal. The address still exists and still routes somewhere. It just belongs to someone else now. From DNS alone, a record pointing at your own server and one pointing at a stranger's look exactly the same.
That includes DNS Spy. Our Dangling CNAME Detection check, part of the Security Center on the Enterprise plan, looks only at CNAME records and fails when a target does not resolve. It would not have flagged the Treasury records. We would rather say so than let you assume it would.
How to Check Your Own Zones
The check is a comparison between two lists: the addresses your DNS points at, and the addresses you actually hold.
Export every A and AAAA record. Use your DNS provider's zone export, not a list of the hostnames you remember. The forgotten records are the ones that matter, and an ftp or rdgw host from years ago will not be on anyone's list.
List the public addresses you hold. For AWS, that means the Elastic IPs and instance public IPs in every account and every region you use. For example, run aws ec2 describe-addresses once per region. Do the same for any other hosting provider in your records.
Compare them. Any record pointing at a cloud address you do not hold is a candidate takeover. Remove it, or point it at something you control. If nobody can say what a hostname was for, that usually means it can go.
Change the order you retire things in. Delete the DNS record first, then release the IP. Done the other way round, there is a window, sometimes years long, where your name points at an address anyone can be given.
Our knowledge base article on dangling DNS covers the other forms this takes, including records pointing into expired domains, and how to work the cleanup into your decommissioning process.
Where DNS Spy Helps, and Where It Doesn't
The hard part of step 1 is completeness. DNS provider sync imports the full record list from Cloudflare, DNSimple, DigitalOcean, Bunny DNS, Linode/Akamai, Vultr, GoDaddy, UltraDNS or Amazon Route 53 through a read-only connection, on every paid plan. That gives you a complete, current inventory of A and AAAA records to check against your cloud accounts, including hostnames nobody remembers. DNS Spy then alerts you when any of those records changes, so a new record pointing somewhere unexpected does not go unnoticed.
What it does not do today is know which IP addresses you hold at your cloud provider, so it cannot tell you on its own that an address has been released. The comparison in step 3 is still yours to run.
This is the second piece of research in a month about government DNS records pointing at things their owners no longer control. The first was a mistyped nameserver at the .gov registry. In both cases the fix was small once someone looked.
Credit goes to Tom Steer and Intruder for the research. Their write-up includes the full timeline and their proposals to AWS.
To get a complete inventory of your own records, start a DNS Spy trial and connect your DNS provider. Every A and AAAA record you publish will be in one list, ready to check against what you actually run.