System DNS should always be used (unless the user configures it otherwise, e.g. by using a proxy for all connections). If you want DNS over HTTPS, this should be implemented as part of the system DNS, so that it can be used with any program that accesses the internet, rather than only the web browser.