Skip to content

Instantly share code, notes, and snippets.

@murarisumit
Last active May 3, 2025 02:51
Show Gist options
  • Select an option

  • Save murarisumit/25248d978d63a73650e3 to your computer and use it in GitHub Desktop.

Select an option

Save murarisumit/25248d978d63a73650e3 to your computer and use it in GitHub Desktop.
Get DNS Entry route53 #boto #aws
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