Does app-specific DNS configuration override system-level settings?

In a situation where a user has
  1. a DNS configuration at system level (i.e., using MDM or an app which adds them to preferences, user enables this DNS in settings app)

  2. AND is using another app which has an app-specific, in-app DNS configuration

which of the two DNS services is being used by the latter app?
The system-wide settings take precedence, since they represent a user choice. The APIs for apps are specifically requiring that encrypted DNS be used for resolution, but that encrypted DNS can come from a system wide configuration. The resolver configuration an application passes when requiring encrypted DNS is a “fallback” resolver: one to use if the system would not have otherwise used encrypted DNS for a given query.
Does app-specific DNS configuration override system-level settings?
 
 
Q