Execture uci set dhcp.@dnsmasq[0].rebind_protection='1' in the shell
Gave me an error pointing at line 77, so I looked at line 77 in the /etc/config/dhcp file
At line 77 there was written the following: address=/domain.tld/internal_ip
With this I wanted to redirect all queries going to domain.tld to a tunnel ip, so that these queries dont go out to the internet
I deleted this line in the dhcp config file and executed following command: uci commit dhcp && /etc/init.d/dnsmasq restart
Then the DNS rebinding attack protection was disabled in the GUI
After restarting the Wireguard tunnel everything worked as expected (ping and traceroute and DNS working as expected)
Thank you for your help Bruce.
If you could point me to a document where it is described how I can configure this DNS override properly, this would be great. The aim is, that all DNS queries that go to a domain and all its subdomains is routed to a specific address in the Wireguard tunnel.