Vioxt Recursive DoH Relay Server With Customizable ECS Field

This is a DoH relay, with "customizable ECS".
Click to view Server Status.

Deterministic Mode Added

We added "deterministic mode" (or det mode in short). You can use deterministic CIDR instead of let the server choose one for you.
"Country" code is needed too, since some web sites will just ignore ECS info, and return IP addr by the location of DNS server, and we have a mechanism to handle this, but that needs a "country" code to let us know the "country" (quoted since some of them are actually "region codes") you want to use.

IP Ranges Cache Fixed

We fixed a mistake in the source code, now, IP ranges will be cached in memory.

Cache Mechanisms Updated

We have improved our cache mechanisms.
Cache are now per-question level, rather than the whole-query level.
TTL responsed now is more precise.
You'll get a better experience and more accurate DNS results.

Privacy And Security

100% open source server, and absolutely no logging.
Use 9.9.9.11 as our upstream DoH server.
All the queries to upstream will be sent through Tor or I2P.
Some other upstream DoH server now will be used.
That's because some sites like CNKI will just ignore ECS info, and return IP addr by the location of DNS server.
That's not good, in this case, for some Chinese users, they'll find they can't access www.cnki.net easily! How sad that is!
To solve that problem, we will use some other DoH server based on the country code you used.
Like if you tell us use CN as country, and cnki.net is a "dyn-upstream needed" site, we will query a Chinese DoH upstream instead of the default one.
Note: Not all country or sites supports this feature. If not supported, default upstream will be used.

How To Use

Default mode (use random choosed IP): URL: https://resolv.vioxt.eu.org/[CountryCode]/[Province]/[City]
The first request might be slow, since the IP info might not be cached yet.
Or use det mode:
URL: https://resolv.vioxt.eu.org/det/[CountryCode]/[IP]/[PrefixLen]
Note: the IP can be a network address like 8.8.8.0, even if the exact host IP you actually want to use is 8.8.8.8. Privacy first.
Hint: Don't know what is "network address" or know nothing about CIDR? Just follow this: If the original IP address is 8.8.8.8, just use 8.8.8.0 (replace whatever after the last dot with 0), and prefix length of 24. You will see an example of det mode later.

Example

In Tokyo: https://resolv.vioxt.eu.org/JP/Tokyo/Tokyo
In Shanghai: https://resolv.vioxt.eu.org/CN/Shanghai/Shanghai
Det Mode: https://resolv.vioxt.eu.org/det/US/8.8.8.0/24

All "Country" Codes

- AU CN JP TH IN MY KR SG HK TW US KH PH VN NL BR AR PS ES FR GB DE CZ BE CH AT IT GR RU SE IL AE CO DK PT GH ZA CM TR FI PL JO RO KE IE UG AM TZ BI CL NO LU BG UA EG CA QA PE MD SC IQ VA LV KZ LT RS IS HR OM IR GE SK EE NZ MX HU SA MT CY BH ID SY LB AX ZM SI MK LI JE BA AZ KG RE IM GG GI LY PA YE BY UZ YT MQ GP MF GF LK SZ CD KW BD BT BN SM PM ZW MZ LA GU MP DO NG EC VE CR PR BO VI MN TV VU TL WS UM PK PG SB FJ CK TO NP MO JM AL TT AF GD BS VG KN AG BL VC LC DM KY MM UY HN MA ME BB PY GT TK MV NC WF BZ AD MC GL TJ FO SV CI SS CV BW NI GY LR TN MG AO NA SD MW ML BJ RW CG GM LS MU GN BF SO SL NE CF TG GA GQ SN DZ AS MR DJ KM IO TD NR FM PF BM TC SR CW NU PW MH KI KP AW CU HT ST ET ER GW TM FK AI SX BV NF AQ MS BQ PN

The Server Is A Libre Software

The software behind the server is under AGPLv3.
You can get src from GitHub repo any-ecs-doh-proxy

Report Security Issues

If you want to report a security issue, DO NOT send it to GitHub, please send email to me.
My email: functionsir [AT] outlook [DOT] com.
You can find my GPG public key at "keys.openpgp.org"
Fingerprint: 7B235AFE17F9EFECF613095D1DDAE7FE9D2EA01C.

Give Me Some Advice

Things like sites that need "dyn-upstream", or feature requests, you can just send them as an issue on GitHub.

Thanks

Reference While Developing

This article: https://taoshu.in/dns/diy-doh.html

IP Location Data Source

This server uses the IP2Location LITE database for IP geolocation.