As germany starts to censor the web (currently one ISP (Vodafone) is forced by government to filter at least 2 domains (kinox and Library Genesis)) I want to prepare for the future by using my own DNS server querying root servers only. For this I installed Bind and configured it to listen on IP 127.0.0.1 port 5353:
root@router:~# nslookup -p5353 google.de localhost
Server: localhost
Address: 127.0.0.1#5353
Name: google.de
Address 1: 172.217.21.3
Address 2: 2a00:1450:4016:80b::2003
Now I want to tell dnsmasq to use this new DNS server but how to define the custom port? The UI treats ":" or "#" as invalid characters and manually setting it in the config file doesn't work.
Before someone asks "why don't you use Bind only": I want to get dynamic DNS entries from the DHCP requests but according to https://wiki.openwrt.org/doc/howto/dns.bind using bind only "will disable automatic creation of your internal hostnames".