Check the installation and router integration
On OpenWrt 25.12, search for nextdns on the software page and check that the feed matches the release and architecture before installing. The SSH equivalent is below. On 24.10, use opkg to refresh the index, find the package and install it from the matching feed. If a LuCI plugin already manages the service, use its existing controls to avoid starting a second instance.
apk update
apk search -x nextdns
If the matching package is present, install it with apk add nextdns. Check the profile, setup-router and listen options in local help. Back up your dnsmasq upstream list and NextDNS settings. Set the profile option to your intended ID. With automatic router integration, allow the integration to manage listeners and forwarding. For manual setup, choose an unused local port for the CLI, point dnsmasq to it and make sure its upstream does not point back to dnsmasq.
nextdns version
nextdns config set -help
nextdns status

The NextDNS CLI uses DoH for its upstream connection. On a backed-up test router, use nextdns config set -profile=PROFILE_ID with PROFILE_ID replaced by your own value. Restart NextDNS through its current service manager. The screenshot verifies CLI options. Verify the account policy from your own client.
Verify the profile with a reversible rule
Open test.nextdns.io on the test client and read status, protocol and any available profile identifier. If the browser uses its own encrypted DNS, also query a domain you control with the system resolver and record the two tests separately. The page describes that browser request only.
Confirm that your test name resolves, then add it to the denylist in the intended profile only. Wait for cache expiry or use a fresh name covered by the same rule. Retest from the same client. Check that profile's query log or blocking response, remove the temporary rule and verify recovery. If another client behaves differently, check the resolver it received through DHCP, subnet-specific profiles and app-level DNS. Restore your original log retention policy afterwards. If household DNS fails, use your wired session to restore the previous upstream.
Reference
Trace DNS leaks after enabling DoH on OpenWrt
Why does DHCP option 6 return after OpenWrt reboots? Check NextDNS and the client lease
Comments