tuaris opened a new issue, #12440:
URL: https://github.com/apache/trafficserver/issues/12440

   I wrote a very crude C program for fetching SRV records to generate a 
`remap.confg` file.  I called it 
[trafficmap](https://github.com/tuaris/trafficmap/blob/master/src/trafficmap.c).
  It takes in a text file with a list of domains.  One would run the program 
and then reload traffic server.
   
   SRV records look like this:
   
   ```
   _http._tcp           IN      SRV     5 0 8002 web03.domain.tld.
   _http._tcp.www       IN      SRV     5 0 8002 web03.domain.tld.
   ```
   
   The resulting remap.config looks like this:
   
   ```
   map http://mywebsite.tld http://web03.domain.tld:8002
   map http://www.mywebsite.tld  http://web03.domain.tld:8002
   ```
   
   I'd like to see a feature in Traffic Server where this would happen in real 
time with caching (while respecting TTL).  Without having the need to 
pre-generate any configuration.  Changes and new additions would propagate 
automatically through DNS.  A plugin would be fine, but I'd prefer to not have 
that via Lua scripting/plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to