How to set specific DNS server?

Support
  • We are using a proxy provider that uses one suspicious DNS server for all of his proxies.
    BAS sends all DNS requests through proxy after using "Proxy" action in script, if I understand right.

    So I'm wondering how we can use those proxies (currently using Socks5 ones) but send all DNS requests throught another specific DNS server e.g. Google DNS or Cloudflare?

    And if we use HTTP proxies will then the DNS requests also send through proxy or through the DNS that is defined in the network adapter on the machine BAS is running?

    Thank you for clarification.