I already have the servers listed under “custom”
I have number of routers running various versions but none of those have a file called /etc/dnsmasq.servers
Setting custom DNS servers on the WAN interface and disabling Advertising by peers (disabling DNS from provider ) should be enough.
I think it’s default but I think setting “custom” may take care of it as long as you UNcheck “ignore DHCP”
DHCP is not really related to DNS other then that DNSMasq can be both a DHCP and DNS server.
Please connect to your router and show the output of
ubus call system board
ls -la /etc/*dnsmasq*
adblock-fast creates a file named dnsmasq.servers for use as a blocking list, but it isn’t saved in /etc.
root@Cisco:~# ubus call system board
{
"kernel": "6.6.110",
"hostname": "Cisco",
"system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
"model": "TP-Link Archer C7 v2",
"board_name": "tplink,archer-c7-v2",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "24.10.4",
"revision": "r28959-29397011cc",
"target": "ath79/generic",
"description": "OpenWrt 24.10.4 r28959-29397011cc",
"builddate": "1760891865"
}
}
root@Cisco:~# ls -la /etc/*dnsmasq*
-rw------- 1 root root 1368 Nov 7 15:07 /etc/dnsmasq.conf
root@Cisco:~#
Well you do not have a file /etc/dnsmasq.servers so do not populate that ![]()
You have to enter them in dnsmasq as forwarders. If you enter here next connection will override them.
so create it & populate
Where do you see this particular file named? It isn’t standard, so you must be reading this somewhere else. Is it mentioned anywhere in /etc/config/dhcp?
There was a bad update in the wiki stemming from this post:
Updated the wiki in case this was causing confusion.
Damn, LuCI uses /etc/dnsmasq.servers as a placeholder text for the serversfile option. But it doesn’t normally exist and isn’t a true default value.
i created & populated it. Working fine
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
