Encrypted DNS and Tor DNS leaks?

Does having an Encrypted DNS on your router cause Tor Browser and Torsocks to leak DNS?

Example: You have a provider listed from below set as your primary and secondary dns on your router.

Will applications using torsocks leak DNS cause they are unable to resolve the DNS cause its encrypted?

Or is it a specific DHCP setting/configuration that can cause Tor DNS leaks.