I don’t create a wireguard server on my router (ar300m) but since I have a running wireguard server on vps with pihole dns on all clients, things that need to be done are:
- Configure dns server to listen to wireguard interface. I am not sure which dns you are going to use, so you may go to dnsmasq settings, or stubby or dnscrypt etc
- Test first, use netstat -nlptu
- You still need to add DNS that point to wg interface in each client.
And about dynamic dns, you could use it in client setting instead of your router IP address and nothing to do in wg server setting about it. Make sure the DDNS is working, that’s it.