Fallback service

I was would like to have some kind of fallback service based on non resolveable requests.

for my example i use two simple services which shall look like this:

#S1 → {“service”: {“name”: “foo.bar”, “tags”: [“go”], “port”: 9001}}
#S2 → {“service”: {“name”: “.bar”, “tags”: [“go”], “port”: 9001}}

any request which is NOT foo.bar but includes .bar shall resolve to the 2nd service (basically *.bar)

Is there any way i can set this up with consul?

Thank you for the support