You need to follow this guide [for basic intercept]:
https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns
You need to follow this guide [for basic intercept]:
https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns