You’re now watching this thread. If you’ve opted in to email or web notifications, you’ll be notified when there’s activity. Click again to stop watching or visit your profile to manage watched threads and notifications.
You’ve stopped watching this thread and will no longer receive emails or web notifications when there’s activity. Click again to start watching.
Is there any way to change the dns resolve result for NSURLSession or CFStreamCreatePairWithSocketToHost? for example: set abcd.com DSN resolve to 127.0.0.1 ?
Some APP want to hide their real server domain and IP, avoid DDoS attack or something else, so we build a proxy server , running inside app, proxy app's network traffic, but this is not enough. We want this proxy server become the real search to app, and handshake with the APP, so need a domain to make dns resolve to localhost (127.0.0.1).