What's new

DNS issue, PPPOE and manual dns

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

ml70

Regular Contributor
Connecting to isp with pppoe, all is well if WAN>Internet Connection>"Connect to DNS Server automatically" is ticked to Yes.

However with No and 2 manually specified DNS servers, dns resolution works for all my LAN, but the router itself doesn't have name resolution, it tries to use 127.0.0.1 as specified in /tmp/etc/resolv.conf (linked to /rom/etc/resolv.conf ) whereas router lan seems to use /tmp/resolv.conf .

In theory fixing that should be easy, rm /tmp/etc/resolv.conf and create a new symbolic link ln -s /tmp/resolv.conf /tmp/etc/resolv.conf , but as result of this the router reboots!

Is there a way to fix this without returning to using automatic dns?
 
Either change the dnsmasq configuration through a Postconf script, or try toggling the "Forward local domain queries to upstream DNS" option under LAN -> DHCP.
 
There is nothing to fix. Those files are correct for dnsmasq operation.

It uses 127.0.0.1 in the first instance so that the router can resolve local hostnames on the LAN. The /etc/dnsmasq.conf file contains "resolv-file=/tmp/resolv.conf" to forward other requests to your chosen external DNS servers.

Leave LAN > "DNS Server" blank and set "Forward local domain queries to upstream DNS" to NO.
 
Last edited:
Running happily now with dnsmasq.conf postconfig script and #no-poll commented out, and a custom /tmp/resolv.conf with more than 2 name servers.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top