For miningpoolhub pools - resolve domain name to IP, and insert to Excavator json config - Profit!
I suspect it's more than that - as that would be a pretty trivial bypass. I wouldn't be surprised of some part of the Stratum protocol probably includes some host field and that's what it's working off of.
You may suspect that, but did you try it? You might be surprised.