Skip to content
This repository has been archived by the owner on Jan 13, 2021. It is now read-only.

How resolve DNS to a specific IP? #423

Open
the-boring-dev opened this issue Dec 8, 2019 · 0 comments
Open

How resolve DNS to a specific IP? #423

the-boring-dev opened this issue Dec 8, 2019 · 0 comments

Comments

@the-boring-dev
Copy link

Using hyper, is there a way to resolve a hostname to a specific IP address? Like the way we can do with cUrl's --resolve flag.

This is useful when you have a service that has regional DNS records and you want to send requests to a particular regional server.

This is how it works in requests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant