Domain redirect with DNS

Hi,

This is the goal:

We are running the Traefik on member.domain.com/dynamic-names

Our members have their own domains. Is it possible to redirect them to our Traefik server with DNS like A record, CNAME or TXT?

When a member types his domain like sample.com we'll show him member.domain.com/sample. Also, we want to show url as sample.com

Thank you for your time.