domain:
Completes https://github.com/XTLS/Xray-core/pull/6139
https://github.com/XTLS/Xray-core/pull/6139#issuecomment-4525195265