Much like Facebook, you can't use a DNS blocker when the ads are being served by and from the website itself. There are some scripts you can run in the desktop browser that help a little but they're usually not maintained, and Strava is constantly changing things, and they don't work on the app.