In the client configuration, set the proxy_domains parameter. The format is as follows, one domain per line:
xxx1.com
xxx2.com
a.xxx3.com
By routing traffic through domain names, note that for domains that map to multiple IP addresses (and each DNS resolution may return different IPs), there may be some issues in such cases.