<p>Route53 <a href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html" rel="nofollow noreferrer">has an API for creating DNS records</a>.  The API is a bit obtuse, but there are a plethora of wrappers for various languages.</p>

CC BY-SA 4.0
2018-11-21T23:36:14.443Z
2018-11-21T23:36:14.443Z
Xiong Chiamiov
<p>Experts, i have a requirement and wanted to find a tool that will be helpful for me.</p>

<p>We have a inhouse tool, that will help developers request/lease a VM for a short duration of time. When the VM is assigned, i send the developer an email with details of the VM and the application details. I currently use xip.io to send a fully qualified DNS name. Something like this</p>

<p><a href="https://omni.54.84.86.26.xip.io" rel="nofollow noreferrer">https://omni.54.84.86.26.xip.io</a></p>

<p><a href="https://auth.54.84.86.26.xip.io" rel="nofollow noreferrer">https://auth.54.84.86.26.xip.io</a></p>

<p><a href="https://mgmt.54.84.86.26.xip.io" rel="nofollow noreferrer">https://mgmt.54.84.86.26.xip.io</a></p>

<p>This works well, but the feedback that i got from my developers is ,</p>

<pre><code>The url is very hard to remember

Everytime is request for a VM i get a new URL and i cant bookmark it. it keeps changing everytime.
</code></pre>

<p>I think their concern is valid. One idea to solve this is to create a per defined DNS names with username in it like</p>

<p>omni-prajan.myorg.com</p>

<p>admin-prajan.myorg.com</p>

<p>mgmt-prajan.myorg.com</p>

<p>where prajan is the username. So everytime i request for a vm, i need to programmatically modify IP that is associated with this domain name in my dns server. We are using AWS now.</p>

<p>Is there a better way to handle this requirement?</p>

CC BY-SA 4.0
2018-10-30T12:37:44.263Z
Depends a lot on how your instances are built, but creating a route53 record along with the machine using cloudformation or terraform sounds very straighforward
Tensibai
CC BY-SA 4.0
2018-11-22T08:39:09.123Z
+1 for Route53. If you ever move off AWS, or want something else, it sounds like a job for [Consul](https://consul.io)
Bruce Becker
<dns>
DNS server with api access
Palanivelrajan
# DNS server with api access

(Asked by: username_0 on 2018-10-30)

Experts, i have a requirement and wanted to find a tool that will be helpful for me.
We have a inhouse tool, that will help developers request/lease a VM for a short duration of time. When the VM is assigned, i send the developer an email with details of the VM and the application details. I currently use xip.io to send a fully qualified DNS name. Something like this
https://omni.54.84.86.26.xip.io
https://auth.54.84.86.26.xip.io
https://mgmt.54.84.86.26.xip.io
This works well, but the feedback that i got from my developers is ,
The url is very hard to remember

Everytime is request for a VM i get a new URL and i cant bookmark it. it keeps changing everytime.

I think their concern is valid. One idea to solve this is to create a per defined DNS names with username in it like
omni-prajan.myorg.com
admin-prajan.myorg.com
mgmt-prajan.myorg.com
where prajan is the username. So everytime i request for a vm, i need to programmatically modify IP that is associated with this domain name in my dns server. We are using AWS now.
Is there a better way to handle this requirement?

**Tags:** dns

> **Comments:**
> **username_1**: Depends a lot on how your instances are built, but creating a route53 record along with the machine using cloudformation or terraform sounds very straighforward  
> **username_2**: +1 for Route53. If you ever move off AWS, or want something else, it sounds like a job for [Consul](https://consul.io)  

---

## 1 answers

### Answer by username_3 on 2018-11-21. Score: 1

Route53 [has an API for creating DNS records](https://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html). The API is a bit obtuse, but there are a plethora of wrappers for various languages.


---

