Hello. Since some services available only in USA (for example - pandora), i want to use VPN tunnel with USA IP address.
The problem is i can’t find any way to do DNS-based routing (example - *.pandora.com via ovpn-out-usa).
I can setup ip-based routing, but pandora uses many IPs - some for website, and some for media servers, and they changing.
Any way to do that?
UPD: Oh, pandora owns a netblock, so i can route some.net/24 via my vpn. But i still interested if it possible to do dns-based routing.
You could do this with an external box checking IP space and making API calls. If you’re using NAND based routers keep in mind that this could cause a huge amount of write cycles to NAND depending on how many API calls you make to update address lists (that’s the primary reason many people have asked for truly dynamic address lists you can manually add to).
not possible. many hundreds (thousands?) DNS queries per second will kill either your router or your DNS server the rest can be solved by scripting and address-lists