I am pessimistic about this, because even I found that challenging for one main reason: I want to use Warp and Warp wants to run a DNS server, and there is only one port 53 so this guaranteed to be a mess.