klaus,
if you want to support domains in route headers, then you need to do
naptr and srv lookups for the domain when handling loose routing. it is
not enough to compare the domain to the ones domain module knows about.
domain in route header may namely be anything as long as it resolves to
your proxy. for this reason, i don't like the idea of domains in route
headers. it hurts performance far too much.
-- juha