Relayd: match...forward to and a fallback

Thu, 14 May 2015 14:35:06 -0700

I'm trying to see if I can use relayd as a domain forwarder.  Meaning,
users connecting to multiple different domains will hit a centralized
relayd server which will then relay them to the correct server hosting
that domain on the backend.

I'm able to accomplish this with:
match request quick header "Host" value "domain1" forward to <domain1>

However, what I want to be able to do is disable the hosts in <domain1>
and have the connection fail over to the <fallback> table.  Right now it
just drops the connection (or returns an error if I use 'return error').

Fallback works if you let relayd try the tables itself, but not when using
'match...forward to' to force it to a specific table.  Is it possible?

Tim.

Reply via email to