Typically, the dns configuration options (beyond the basic upstream dns configured within the relevant network interface) are specified in the dnsmasq section of the etc/config/dhcp file.
The preferred method of handling this is to disable the specific features explicitly in the configuration files -- disabling them in init.d (startup items) is not the best method because the services will usually be re-enabled when a sysupgrade is performed.
For example, in most situations, a dumb AP will not be the DHCP server on a network. Therefore, the DHCP server must be disabled in the dumb AP. While disabling dnsmasq as service will achieve the goal, a sysupgrade will re-enable the service and the DHCP server will turn back on, even when settings are kept during the upgrade, Instead, the DHCP server on lan should be explicitly disabled in the /etc/config/dhcp file by setting the option to ignore the interface. This will be persistent and deterministic across upgrades.
This same principle applies to other config options, too... so your DNS server settings and such -- if you have specific settings, make them explicit in the /etc/config/dhcp config file (instead of manually entering it into your /etc/resolv file and disabling dnsmasq).
Thanks for insisting that the changes be made permanent. I had originally followed the instructions in Wireless Access Point for configuring APs with LuCI. That included disabling the DHCP server on the lan interface. Indeed, /etc/config/dhcp contains
config dhcp 'lan'
option ignore '1'
I had not, however, scrolled down to Disable Daemons Persistently. I have now added to /etc/rc.local:
# these services do not run on dumb APs
for i in firewall dnsmasq odhcpd; do
if /etc/init.d/"$i" enabled; then
/etc/init.d/"$i" disable
/etc/init.d/"$i" stop
fi
done
rm -f /usr/sbin/wpa_supplicant
My APs don't need wpa_supplicant since each one has a wired Ethernet connection to the main router. (I added the -f to avoid error messages in later reboots.) I have reflashed the upgrade and all is well.
I will make this addition to the other APs before I upgrade them.
I believe wpa_supplicant is superfluous on the main router, too.