I have a Ubuntu 14.04 Trusty VPS server and I wonder if using the cURL library resolves DNS locally to a subdomain.
I have 2 domains on the same server and 1 is a subdomain (Webservice).
Making a call from cURL to the webservice will the same be resolved local or will it go through the internet?
If I go through the internet how do I resolve it locally?
(I'm evaluating this because I believe that resolving locally will shorten the request time)