-
Notifications
You must be signed in to change notification settings - Fork 837
Open
Description
I wrote a very crude C program (with some help getting started using AI) for fetching SRV records to generate a remap.confg
file. I called it trafficmap. 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.
Metadata
Metadata
Assignees
Labels
No labels