jamiees2 / dnsproxy

An awesome configuration generator for dns/proxy settings!
GNU General Public License v3.0
103 stars 32 forks source link

Support for sniproxy #30

Open LionsAd opened 5 years ago

LionsAd commented 5 years ago

I think it would be better to support https://github.com/dlundquist/sniproxy instead of haproxy, because sniproxy can do wildcards, which are needed for e.g. Amazon Instant Video now as it checks region for .*\.eu\.api\.amazonvideo.com.

Also the configuration for sniproxy is very straightforward.

The current rules for Amazon translated to sniproxy are as simple as:

table hosts {
  atv-ps-eu\.amazon\.com$   *
  atv-ext-eu\.amazon\.com$  *
  atv-eu\.amazon\.com$  *
  .*\.eu\.api\.amazonvideo.com$ *
}
matthias1232 commented 2 years ago

Hello, i forked the project and added sniproxy with Wildcard Domain Support

https://github.com/matthias1232/dnsproxy