On Tue, Mar 23, 2021 at 12:57:08PM -0500, Noel Jones wrote:

> To control how many levels are matched you'll need a regex or pcre 
> table.
> 
> for matching one level, maybe:
> /^[a-z0-9]+\.example\.com$/  transport:nexthop

With transport lookups in regex tables, the lookup key is
the full address including the localpart.  So the correct
PCRE pattern for a single ldh-label subdomain is:

    /@[a-z\d](?:[-]+[a-z\d]+)*\.example\.com$/  transport:nexthop

-- 
    Viktor.

Reply via email to