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, 2019 in AWS by datageek
• 3,090 points
802 views

1 answer to this question.

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, 2019 by Archana
• 5,640 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, 2019 in AWS by rishab
4,876 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,780 points
1,160 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
• 58,020 points
2,164 views
+2 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
• 58,020 points
2,715 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,035 views
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 15, 2019 in AWS by Archana
• 5,640 points
588 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP