What's new

Accessing clients by hostname not working

  • 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!


Occasional Visitor
I'm not sure if I'm doing this right at all - any tips would be greatly appreciated. On my router I set up a hostname and domain like: router and mydomain.internal. From a client PC I can ping either router or router.mydomain.internal successfully. Under LAN > DHCP server I can add clients on my network by name from the dropdown so the router is definitely recognizing them. I can also ping any client by IP address. However, I cannot ping by client hostname like ping mypc.mydomain.internal. Is there some additional step needed for this to work? Thanks!

Firmware is 386.7_2 on RT-AC68P
nslookup mypc.mydomain.internal

** server can't find mypc.mydomain.internal: NXDOMAIN

If I look at /etc/resolv.conf it has:

options edns0 trust-ad
search mydomain.internal

and under /run/systemd/resolve/resolv.conf

it has

search mydomain.internal

That looks correct (router IP and domain).

Edit: I think I figured it out. Seems like its an issue with Ubuntu. I did the below from the client which fixed it...

sudo rm -f /etc/resolv.conf
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

Taken from the top answer here...

It seems this has been an issue for a while. Strange that ubuntu has it set up this way.
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

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