TP-Link was so kind to set up a FAQ how to configure heir standard Routers e.g. Archer A7 and their Deco mesh e.g. M5 and S7 together with Pi-hole.
You can find the FAQ here: https://www.tp-link.com/us/support/faq/3230/
Last update:
February 5, 2023