DOH with NextDNS app

as a follow up to DOH per interface/client

I will be attempting to use the nextdns app for per client DNS requests tracking, where every client needs to send its hostname with the DOH endpoint

the only problem I see here is the routing as openwrt is not the main router

And the question is... ?

I don’t think I gave enough information, as most of its in the other thread

I want to know if its possible without openwrt being the main router and how to set it up correctly

What device is providing DHCP to the LAN? The nextdns app will probably look for a dhcp lease file on the OpenWrt device to identify client names.

currently openwrt is doing the DHCP

so should this just work if I remove the DHCP tags

Let's just say it "might" work. The client names will only be as good as the OpenWrt router can detect.

If you added (or send) names, it should work with tags.

I provide names though the DHCP

somehow managed to take out my DHCP again, no clue what I have done this time

but the tag are directing DNS to https dns proxy

so how would the nextdns app work?

I wish I had not messed with it

No DHCP again

the NextDNS app stopped dnsmasq listening on port 67 for DHCP

NextDNS may have added a dnsmasq option that prevents dnsmasq from starting properly. What's in the logread output?

[9 May 2026, 18:00:18 BST] daemon.crit: dnsmasq[1]: bad option at line 316 of /var/etc/dnsmasq.conf.cfg01411c
[9 May 2026, 18:00:18 BST] daemon.crit: dnsmasq[1]: FAILED to start up

line 316 is “dhcp-option-force=lan,3,192.168.1.1”

or was it 315 that contains every address in the 192.168.10.X subnet

If that ends up over 1024 characters, it would fail like that on startup.

so when I uninstalled nextdns why did it work again

I do want to get this working so I installed it again, as it will make for a clearer setup

any after removing the DHCP tag it just works, this would have saved some time and makes for a clearer setup, I don’t need a DNS IP for every devices

I having an issue today where clients are getting an IP address but not a DNS address

something is going off every time the main router restarts

Devices get an IP with no DNS address

the main router is going to need to be restarted a lot, as we are having issues with it

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button (red circle; this works best in the 'Markdown' composer view in the blue oval):

Screenshot 2025-10-20 at 8.14.14 PM

Remember to redact passwords, VPN keys, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/dhcp
cat /etc/config/nextdns

The system log of main router, starting at boot and up to/including " .... as we are having issues with it ", might be helpful, too. Just do "logread > /tmp/logread.txt" and provide the file.

ISP locked down model

I think the retail version is also locked down though

I have sysinfo.cgi but that gives everything

There is probably no point trying anything yet, everything might get ripped out, as the mesh nodes are not powerful enough and keep crashing, that’s not your problem though, that’s on the ISP

The only problem I have is, if I connect it to the main router, I will have two DHCP servers, one of which is not fully working

I will try, but at the moment getting the network stable is priority