I have set up an DNS resolver and nginx upstream server as a working "DNS over TLS" server. (and DNS over HTTPS but android uses TLS)
This works great so far, but my wish is to make it private with some kind of authentication.
Only specific Users should be able to use it.
The problem is ..... for example in android devices, it is only possible to enter one single "private DNS Server" - i have found no suitable authentication method for this scenario.
Does anyone has an idea how to "make my DNS over TLS Server private with Android 9" ?
possible "almost solution": Configure nginx to allow only connections from specific IP addresses. (generate allow IP-Address-list via script and include)
This has the major problem, that when the IP changes, maybe the client is no more able to resolve the DoT neither the DynDNS Provider.
Not tested yet, but this should not be the preferred solution I think. Suggestions welcome.