I’m a bit confused about private networking and would really appreciate to have this explained a bit more.
So let’s say I have a website that communicates with an API, and they’re both within the same organization. Does private networking mean the website can communicate with the API without exposing the api to a public ip/domain?
According to the docs, if I understand it correctly, I don’t have to do anything special to get this working. So could I just do a request to the API using the IPv6 address or even the .internal domain? What confuses me is the part about DNS in the docs.
A really basic explanation and code example of how this would look would be super helpful.