Currently, we have multiple domains that we specify in our tunnel instances with either the --tunnel-domains flag or --direct-domains flag. We would like to the ability to use these two flags in conjunction with one another(Currently this is not possible) so that given two conflicting -d or -t parameters, the more specific domain name should win.
Hello!
Technically, you can use both parameters. If the same domain is in both, then --tunnel-domains overrides. However, we found that it's not working as expected and have an open bug for this. It seems that everything is going through the tunnel.
Regarding wanting the exact match to beat the wildcard, that is something that we would have to add, but it makes a lot of sense and I've heard this request before. I've created a ticket in our backlog for this, but I do not have an ETA at this time.
Best,
Jean
Attachments Open full size
I can actually relax this to state:
Given two conflicting --tunnel-domains or --direct-domains, an exact match beats a wildcard match.
Attachments Open full size