I setup my router on openwrt and would like to use my raspi again as DNS for ads and tracking etc...
now i would like that the DNS adress automatically is given to the wlan clients.
for lan i found the option but for wlan i don´t know where or how to do it.
Please for help
network > interfaces > lan > dhcp server > advanced settings > dhcp-options
Type 6,address of pihole
This is all you need to do. This will give all devices connected to your network the ip address of your pihole.
There is no need to set this up on the wan side, I would just leave all of that default it will just fill your pihole log with useless crap that does nothing.