Guides
OpenWrt installation and firmware guides · dnsmasq
Identify the hardware revision before choosing firmware. For installation and recovery, follow the branch for your computer and the mode the device enters.
Before you choose
Source linkedDoes adblock-lean slow down a gigabit connection? Separate DNS, list updates and forwarding
A page that takes time to start loading and a file that transfers slowly after the connection is open call for different tests. adblock-lean downloads and processes lists for dnsmasq. Established IP traffic does not need a domain lookup for every packet, but list updates and forwarding share CPU and memory.
Read guide 02Source linkedOpenWrt dnsmasq cannot open /dev/null: check the log destination and device node
When the startup log says cannot open log /dev/null, first find what selected that path as a log file. On one mediatek/filogic snapshot the diagnosis led back to an inherited logging setting. Ownership or a single startup error does not establish a procd defect. Preserve wired management access and the configuration while diagnosing DNS.
Read guide 03Source linkedOpenWrt stopped assigning addresses after a static lease was added
If phones lose DHCP after you reserve an address for a printer, check the dnsmasq startup log. With “duplicate dhcp-host IP address”, conflicting rules can prevent startup even when both devices are offline.
Read guide 04Source linkediPXE stops at the second boot stage with dnsmasq-full 2.92
iPXE chain boot includes two file selections. The first stage downloads the bootloader, proving only the first path is accessible—this does not confirm that the second request successfully retrieved the script.
Read guide 05Source linkedHigh dnsmasq CPU usage with a large blocklist and subdomain queries
The CPU peak under a large interception table must correspond to specific queries. Compare the domain, its subdomain, and a regular domain under the same rule, differentiating between matching overhead and upstream waiting time.
Read guide 06Source linkedWhy does dnsmasq report a bad option on line 1 of dhcp.leases?
A guest DHCP instance starts with an empty lease file and fails after handing out addresses. If the error names dhcp.leases, keep the file. A timestamp, MAC and IP on line one look like a valid lease being read as configuration.
Read guide 07Source linkedHow to put one domain in two IPv4 sets on OpenWrt
If two policies share only a few domains, give those names a mapping with both destination sets. Keep the remaining domains in their own rules.
Read guide 08Source linkedOpenWrt stopped handing out IP addresses after a lease file change
For a printer that needs a predictable IP, add a static lease. Persistent storage matters when dynamic records must survive a router reboot. If clients have already lost DHCP, restore service first.
Read guide 09Source linkedOpenWrt table_family explained when only the IPv4 set fills
For a table headed inet gm, use inet for table_family and gm for table. An IPv6-only set inside that table still belongs to inet. Read each set’s element type separately.
Read guide 10Source linkedDoes your OpenWrt dnsmasq package include a specific security fix?
Compare three fixed release tags with the installed dnsmasq package and binary to check whether your image includes a particular fix.
Read guide 11Source linkedWhy add_wan_fqdn only works after restarting dnsmasq on OpenWrt
When the router powers on, the WAN address might be generated after the local host has already recorded it. Check the address and name at the time of failure and again after the WAN is ready to identify where the discrepancy occurs.
Read guide 12Source linkedLuCI reports a remove error after deleting the default DHCP/DNS instance
When the DHCP page shows a "remove" error, first verify how many dnsmasq instances are still configured. The address pool settings and currently running processes do not replace or override the instance segment.
Read guide 13Source linkedLuCI cannot detect dnsmasq or odhcpd features. Check the ucode and firmware versions
LuCI reads backend support for daemon features. If the DHCPv6 options are missing from the page, first verify that the locally installed package was compiled with this feature enabled.
Read guide 14Source linkedHow to verify the NextDNS profile a client uses through OpenWrt
The browser reports an encrypted connection, but a rule in your account has no effect. Choose one test client and note its DNS settings and the intended profile ID in the dashboard. Check the router software, the client's resolver path and the effect of a rule in that account.
Read guide 15Source linkedAdGuard Home on OpenWrt: keep local names working when you change DNS
Choose which resolver owns port 53 on the LAN. Test a local hostname and a public name before advertising the new resolver to other clients.
Read guide 16Source linkedWhose DNS changes with DHCP option 6 in OpenWrt?
To send PCs directly to a local resolver, change what their leases advertise. To change the router’s own upstream, check its interface and forwarder settings. These addresses can differ.
Read guide 17Source linkedWhy a MAC-only DHCP tag disappears from the OpenWrt dnsmasq configuration
A tablet can receive a normal lease even when its special DHCP options never apply. Check the path from the saved host entry to the generated dnsmasq configuration before diagnosing the client.
Read guide 18Source linkedOpenWrt Parental Controls Not Working? Scheduled Internet Pauses, IPv6 and DNS
Troubleshoot OpenWrt parental controls with LuCI screenshots and lab results for IPv4, IPv6, existing TCP, scheduled internet pauses and DNS allowlists.
Read guide 19Source linkedUnbound returns a global IPv6 address for a local name. Check GUA filtering
When locally resolving a name to a global IPv6 address, it first checks the AAAA record—determining whether the record is generated by the local region or obtained from upstream. Filtering of local addresses and filtering of public DNS responses occur at distinct stages.
Read guide 20Source linkedWhy WiFiHistory keeps sending PTR queries every 30 seconds after you close LuCI
PTR queries that continue after you close the LuCI tab may come from a background service looking up client names. Use the source address, query interval and a pause in collection to identify it.
Read guide 21Source linkedHow to give a WireGuard peer a reverse DNS name on OpenWrt
A WireGuard peer label may never appear in DNS. First confirm which device owns the fixed tunnel address. The outer Endpoint can change, and AllowedIPs can cover an entire remote network.
Read guide 22Source linkedWRT3200ACM guest DHCP fails with Address in use. Check the pool and dnsmasq instances
An "Address in use" error may occur during service binding. First, identify the faulty dnsmasq instance, then check whether it is bound to the same address or interface as the primary network instance.
Read guide