What's new
  • 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!

Asuswrt-Merlin 378.54_2 local DNS not working?

Tobias McNulty

Occasional Visitor
I finally upgraded from the 376.49 series yesterday to 378.54_2. Everything seems to be working great except for local DNS (and yes I did a factory reset after the upgrade).

$ host foo.mydomain.lan
Host foo.mydomain.lan not found: 3(NXDOMAIN)

Where "foo" is the hostname I gave to the DHCP client for my laptop and mydomain.lan is the domain name configured for the DHCP server. This used to work without a hitch, though I seem to remember some oddness with requiring the host to have obtained a DHCP lease before DNS would be served (I've confirmed that it has in fact obtained a lease). Simply using "host foo" gives the same result.

Any idea what might be causing this?

Thanks,
Toby
 
Check what nameserver your client is using, also make sure you do configure your local lan domain on the router's DHCP page.
 
Thanks for the quick reply. Both of those are set - I have "RT-AC66U's Domain Name" set to "mydomain.lan" and I verified that my name server shows up in /etc/resolv.conf in the client. I also tried querying the router directly (e.g., `host foo 192.168.1.1` where 192.168.1.1 is the address of the router) and get the same response:

$ host foo 192.168.1.1


Using domain server:

Name: 192.168.1.1

Address: 192.168.1.1#53

Aliases:


Host foo not found: 3(NXDOMAIN)
 
FWIW, this does work when logged in to the router as 'admin' via SSH:

# nslookup foo.mydomain.lan

Server: 127.0.0.1

Address 1: 127.0.0.1 localhost.localdomain


Name: foo.mydomain.lan

Address 1: 192.168.1.80 foo.mydomain.lan
 
Are you using DNSFilter? This is not compatible with local LAN resolution.
 
Yes! That was it. Many thanks. I had DNSFilter turned on to use OpenDNS Home.

I believe I can accomplish the same thing just by setting OpenDNS's servers in the WAN DNS settings.

Thanks again.

Toby
 

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!

Members online

Back
Top