How resolve DNS to a specific IP?
the-boring-dev opened this issue · comments
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
.