Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a DNS router to add new VM entries to a central domain #35

Closed
sunbiz opened this issue Feb 20, 2020 · 1 comment
Closed

Add a DNS router to add new VM entries to a central domain #35

sunbiz opened this issue Feb 20, 2020 · 1 comment
Assignees
Milestone

Comments

@sunbiz
Copy link
Member

sunbiz commented Feb 20, 2020

Deploy a DNS router in a stable location that will listen to input from newly launched VMs, so that they can have their own domain names.

This is a sub-issue of #7 because a subdomain is required to get an SSL certificate. A skeletal startup script that pings the router is available here - https://github.com/iupui-soic/dynaswap/blob/master/shell-scripts/DAR.sh , but this issue is to track the code and updates to create the router itself. The DNS router should be a simple app that takes the IP and user launching the VM and post it to a DNS server.

the default implementation may use a externalized authentication to a REST service to a DNS server.

@sunbiz
Copy link
Member Author

sunbiz commented May 8, 2020

The DAR has been deployed to dynaswap.info. The following script needs to be run to be able to get a DNS A record created with the appropriate IP

curl -X POST "https://dynaswap.info/DAR" -d "{\"ip\": \"$(curl https://diagnostic.opendns.com/myip)\"}"

@sunbiz sunbiz closed this as completed May 8, 2020
@sunbiz sunbiz added this to the v1.4.0 milestone May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants