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,050 points

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> 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,600 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
+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,770 points
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
• 57,490 points
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
• 57,490 points
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
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, 2019 in AWS by Archana
• 5,600 points