Is there a feature to automatically add private DNS to Amazon Route53?

0 votes

I have a vpc in aws, does aws provides a feature to automatically add private DNS to route53 when i  manually launch an instance? Well i did my research and couldn't find much about the topic.

Any ideas?

Mar 1 in AWS by datageek
• 2,870 points
11 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I'm not sure what you mean with "private" DNS. Route53 actually provides a (public) DNS service. 

If you have installed boto, you can update DNS settings like this:

DNS_ADDRESS="`ec2metadata | grep 'public-hostname:' | cut -d ' ' -f 2`"
/usr/local/bin/route53 change_record <Hosted zone ID> foo.bar.com. CNAME $DNS_ADDRESS 300

DNS_ADDRESS is the AWS DNS name of the instance. The second line creates a CNAME. You need to add the hosted zone ID of the domain you want to change. If you put this snippet into /etc/rc.local, the instance will automatically update / create the CNAME when it's booting.

answered Mar 1 by Archana
• 5,360 points

Related Questions In AWS

0 votes
1 answer

Is there a Command line tool to access Amazon Athena?

The AWS command line tool supports Amazon Athena operations. 1. ...READ MORE

answered Jan 16 in AWS by rishab
108 views
+1 vote
2 answers

Is there a API to get AWS Marketplace Products

AWS Marketplace Entitlement Service API Reference The AWS ...READ MORE

answered Aug 1, 2018 in AWS by findingbugs
• 4,730 points
44 views
0 votes
1 answer
0 votes
1 answer

In Amazon Data Pipeline, how to make sure only once instance of a pipeline is running at any time?

On the CopyTablesActivity, you could set a lateAfterTimeout attribute ...READ MORE

answered Sep 19, 2018 in AWS by Priyaj
• 56,120 points
137 views
0 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 56,120 points
60 views
+13 votes
2 answers
0 votes
1 answer

Is it possible to add a compatibility layer above AWS?

Well there are few tools like TyphoonAE ...READ MORE

answered Jan 14 in AWS by Archana
• 5,360 points
12 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.