Telekom Germany SIP Trunk SRV Records

Asterisk absolutely supports DNS SRV records. Has for a long time. As noted use PJSIP for your trunk type and things should just work.

You can manually to a SRV lookup to get the IP that are being used and then block them one at a time in a firewall rule to see FreePBX route to the next one.