@Administartor
To prevent certain domain names from being unable to function properly due to DNS spoofing, and to ensure that the remaining domain names use the system DNS, I configured a custom DNS server with DNS over HTTPS and a DNS mapping that utilizes the system DNS server.
The large number of DNS mappings (over 60,000) caused Surge to malfunction, resulting in slow performance. The menu bar and panel became unresponsive and laggy.
The expected configuration file should look similar to the following.
[Host]
surge.mapping.set.{custom} = server:system, /path/to/mapping/file
Mapping file
one.example.com
two.example.com
...
This can provide a consistent and reliable DNS experience across different network environments.
Looking forward to your reply