Support Split DNS
It will be nice if instance inside project can resolve DNS names to internal IPs. EC2 implementation:
nslookup ec2-54-100-100-30.eu-west-1.compute.amazonaws.com 220.127.116.11
Thx, pls see comments for further info.
Typically, modern architectures use one of the many packages available that provides Service Discovery, which is a different thing than DNS. etcd, zookeeper, and consul are all examples you might investigate.
Then how people handle this? Lets say you have 2 applications that integrated using URL, that also used to reach this apps outside, it is kind of silly to send traffic outside through gateway and then back. For example one of solution will be to give a way add record to Internal DNS/Metadata server
Thanks for the suggestion! This is one that we hear pretty infrequently, usually from users of EC2-Classic networking who have relied on this behavior as a form of service discovery (It is not supported in their newer VPC networking, to my knowledge). We hear this request about once every 6-12 months, and usually from one customer at a time, hence it has not been very high on our backlog. You're the first to mention it in the last 12 months that I'm aware of. :/
I'm not saying we won't consider this, as it has always been on our backlog, but other capabilities like private DNS tend to rank higher. So, if you have friends that want it, have them vote here. :)