Last active
May 3, 2025 02:51
-
-
Save murarisumit/25248d978d63a73650e3 to your computer and use it in GitHub Desktop.
Get DNS Entry route53 #boto #aws
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto | |
| r53conn = boto.connect_route53(aws_access_key_id="xxxxxxxxxxxxxx",aws_secret_access_key="yyyyyyyyyy") | |
| recordSets = r53conn.get_zone("yourdomain.in") | |
| #Sorry for the hacky way.....! | |
| for recordset in recordSets.get_records(): | |
| print recordset.name + " : " + recordset.to_print() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment