Can I force container dns to DoH Url?

I use this container for firefox. Inside firefox profile I have a policy.json to constrain DoH choices to “one choice” but it does not prevent disabling it. Can the container have a DoH instead of ipv4 or ipv6 address?

If you mean DNS over HTTP, you would need a client that can use it, make it listen on the default protocol and configure that for the container as a DNS proxy.

Some sources that can help: