Reputation: 1716
We have a few route 53 recordsets which are pointing to the same ELB. We are planning to do a cleanup and delete the unused Route 53 recordsets. Is there a way to find out if a Route 53 recordset is actively being used or not?
Is there a access logs or something similar for Route 53 which can be used to determine this?
Upvotes: 2
Views: 2532
Reputation: 21
I know this is an old question, but here is the solution that worked for me. Simply enable logging on the hosted zone (Only works for public hosted zone). Here is the link on how to setup logging (Pretty simple, and works well):
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html#query-logs-configuring
Hope this helps.
Upvotes: 2
Reputation: 180014
Set up a copy of the ELB. Point the record(s) you're looking to delete at the second ELB. Check CloudWatch's request counts for that ELB over the course of a couple days.
Cheaper (but probably a bit more work on your end) would be turning on ELB's logging and processing the resulting logs, which appear to include the hostname. http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/access-log-collection.html
Upvotes: 3