wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.97k stars 263 forks source link

[Feature] DNS service #209

Open awilkins opened 6 years ago

awilkins commented 6 years ago

Yes, this one's a stretch.

Currently if you want to resolve IPs in your VPCs you have to set up DNS "properly" on your VPN. If you want it to resolve names across VPCs and accounts you have even more work to do - you have to associate private zones with VPCs etc. And even then you can't resolve box names to IP addresses unless you add entries to the private zone for them.

Dumb idea : integrate something like this into the code and have a command

awless dns

That provides a DNS server that you can then integrate into your e.g. dnsmasq config to provide lookups for EC2 instance names, making addressing those boxes over VPN much easier.

simcap commented 6 years ago

Ok, thanks @awilkins for the high level explanation.

To make sure we understand correctly (which is not my case yet) could you elaborate and write technically what you want to see happen, the various steps and where awless would fit in (commands, params, etc.). You can do that through example for instance a VPN addressing EC2 instances on various VPCs.