Skip to content

Feature request for remapping rules via SRV records #12440

@tuaris

Description

@tuaris

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions