Hello,
I realized you have added some DNS improvements in sing-box v1.9.0 to prevent DNS hijack and leak. I wonder if is it possible to force resolve DoH itself to a specific IP with this new feature.
Currently, DNS over UDP
(as Bootstrap DNS) resolves "https://dns.cloudflare.com/dns-query"
DoH to 104.16.132.229
and 104.16.133.229
only and "https://cloudflare-dns.com/dns-query"
to 104.16.248.249
and 104.16.249.249
only.
Imagining that these 4 IPs are blocked, how can I force resolve "https://dns.cloudflare.com/dns-query"
to 104.16.0.1
using sing-box? What is a sample json configuration?
For example, these are Surge’s manual:
https://manual.nssurge.com/dns/local-dns-mapping.html
Or these are X-ray’s manual: