pan-xunlei-com is a DNS proxy that implements the dnscrypt and DNS-over-HTTPS (doh) protocols.
A copy of the this document is available online
For more detailed information I suggest you visit the pan-xunlei-com wiki.
Cloudflare has some good instructions on how to change your DNS settings to point to a custom DNS server. Instead of 1.1.1.1 you need to use your Synology's IP address. e.g. 192.168.1.1
To see which servers are resolving your queries you can visit dnsleaktest.com
If you prefer the command line you can use dig whoami.akamai.net, drill resolver.dnscrypt.org or nslookup whoami.ultradns.net to find out which resolver is currently in use. Using the output the SERVER should be the IP address of the device running pan-xunlei-com. The IP address in the ANSWER SECTION should be your preferred DNS resolver. Note that on anycast networks like 1.1.1.1 or 8.8.8.8 the IPs will differ and can checked by the ASN