At first blush, one way would be to "note" that the DNS matches that pattern and then use the generic reverse proxy worker to handle the actual mechanics.
> On Mar 6, 2018, at 9:35 AM, Graham Leggett <[email protected]> wrote: > > Hi all, > > I have a need for an Apache mod_proxy to load balance across a number of > endpoints defined by DNS SRV records. > > The question I have is how this might be implemented. Would it make sense, > given a DNS name that matches _.+[.]_.+[.].+ (AKA _foo._bar.anything), to > perform an SRV record lookup, and if that returns nothing, then an A/AAAA > record lookup in the normal way? > > ProxyPass /foo https://_fooserver._tcp.example.com > > Would that approach be backport-able to httpd v2.4? > > Regards, > Graham > — >
