Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get a list of registered domains in AWS Route53

I manage my domains in Amazon Web Services Route53 and trying to get a full list of my registered domains (100+), but I am not able to find this option either in AWS console nor on the command line interface.

I'd be happy with any output format, csv, json, xml, whatever, just need to have a complete list as I don't want to copy them one by one. Thanks!

like image 233
developeter Avatar asked Feb 01 '26 12:02

developeter


1 Answers

After looking for it for 3 hours I found that AWS Route 53 service uses the us-east-1 endpoint only. As I used

aws configure

to setup the AWS CLI, in my ~/.aws/config file I had region=eu-west-2 defined as default region.

Defining the endpoint to use has done the magic:

aws route53domains list-domains --region us-east-1

like image 156
developeter Avatar answered Feb 04 '26 06:02

developeter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!