How to resolve domains list with specific DNS?

I have a list of addresses with domain names that I want to route through the VPN. But I want to also route all DNS resolution queries about these domains to the VPN. Is this possible without creating thousands of static split dns entries?

If you have a list of domains with address’s then why not just add the list to your MK DNS staic cache? Then make use the same list and preroute mangle all dst-add-list to the vpn address?

Because I want to:

  1. have fresh IP if domain contains several of it or update it for load balance
  2. use reguar DNS (not DoH) for daily work and hide DNS requests about special domains

Or maybe I can resolve special domains using my chosen DNS (those requests will be routed through the VPN) and create static DNS entries to prevent those domains from being automatically resolved through the primary DNS?