It was an interesting and useful experience with an attempt to implement the use of DNS servers specified in the sing-box configuration file. But too many shortcomings. For starters, the problem I noticed yesterday is that sing-box cannot use Adguard Home installed in my home network as a DNS server. Now I have discovered that my mobile phone, connected via WiFi, cannot open any sites, apparently because DNS does not work properly for it. My laptop, also connected via WiFi, opens sites, but I have to wait a very long time. At the same time, the desktop, connected by wire, has no problems with DNS. The script code has become significantly more complicated, the instructions for users will also become more complicated and will require more actions from them, which means there will be more mistakes from inexperienced users. In my opinion, this implementation of using sing-box with DNS servers specified in its configuration file has more disadvantages than benefits. As a result, I decided to put yesterday's work in the archive. Maybe I'll come back to them someday.