That is not something that you can do with DNS policies. DNS doesn’t know about anything after the domain in your example the domain would be www.reddit.com.
You could do it with a HTTP Policy but that requires installing WARP and enabling firewall proxy.