Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS resolution #60

Closed
dbu opened this issue Feb 23, 2016 · 3 comments
Closed

DNS resolution #60

dbu opened this issue Feb 23, 2016 · 3 comments

Comments

@dbu
Copy link
Contributor

dbu commented Feb 23, 2016

in FriendsOfSymfony/FOSHttpCacheBundle#283 we found that we should be able to use the --resolve option of curl [http://serverfault.com/questions/443949/how-to-test-a-https-url-with-a-given-ip-address](to force the IP of a domain), which translates to CURLOPT_RESOLVE in php .

any idea how we could achieve this in a generic way? to make things more interesting, we need this option at run time, we typically need this when talking to several servers...

@joelwurtz
Copy link
Member

Don't think it can be generic enough to belong in a plugin, more to a client implementation IMO.

BTW for talking to multiple servers i have write some issues and beginning work of some stuff in the client-common package, maybe it will be better in this repo or the implementation, WDYT ?

@sagikazarmark
Copy link
Member

If it is a client implementation, and does not have any dependencies, then client-common is a good place for it.

@dbu
Copy link
Contributor Author

dbu commented Feb 23, 2016

you are right, this belongs to php-http/client-common#9, moved it there

@dbu dbu closed this as completed Feb 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants