Difference between revisions of "Linksys AC Series Router Configuration Tips for OpenWRT"

m
m
Line 1,120: Line 1,120:


=====Additional Notes=====
=====Additional Notes=====
Whenever the DNSMASQ service is started it overwrites the /tmp/resolve.conf file with it's own version of that same file.  It will also delete any symbolic link at /tmp/resolv.conf which typically points to /tmp/resolv.conf.auto.  When the DNSMASQ service is stopped it "politely" recreates that symbolic link.  An explanation is given here: https://forum.openwrt.org/t/solved-dnsmasq-resolv-conf-inconsitent/13972/2  Basically the site is saying that if the DNSMASQ service is started and you have your own "DNS Service", why do you need to use external DNS Servers (which makes sense).   
Whenever the DNSMASQ service is started it overwrites the /tmp/resolv.conf file with it's own version of that same file.  It will also delete any symbolic link at /tmp/resolv.conf which typically points to /tmp/resolv.conf.auto.  When the DNSMASQ service is stopped it "politely" recreates that symbolic link.  An explanation is given here: https://forum.openwrt.org/t/solved-dnsmasq-resolv-conf-inconsitent/13972/2  Basically the site is saying that if the DNSMASQ service is started and you have your own "DNS Service", why do you need to use external DNS Servers (which makes sense).   


A side effect of the above behavior is it overwrites MWAN3 settings that are stored in /tmp/resolv.conf.auto.  If one has custom external DNS servers enabled for multiple WAN ports they will no longer be used.  This is not a flaw with OpenWRT, just a behavior to be aware of.  If one needs to configure specific upstream DNS servers, any custom DNS servers configured with MWAN can be configured within DNSMASQ.  Again, this is just something to be aware of.
A side effect of the above behavior is it overwrites MWAN3 settings that are stored in /tmp/resolv.conf.auto.  If one has custom external DNS servers enabled for multiple WAN ports they will no longer be used.  This is not a flaw with OpenWRT, just a behavior to be aware of.  If one needs to configure specific upstream DNS servers, any custom DNS servers configured with MWAN can be configured within DNSMASQ.  Again, this is just something to be aware of.