DNS does not resolve hostnames of connected devices

DNS does not resolve hostnames of connected devices

DNS does not resolve hostnames of connected devices
DNS does not resolve hostnames of connected devices
Thursday
Model: Archer BE11000 Pro  
Hardware Version: V1
Firmware Version: 1.1.1 Build 20241115 rel.24012(5553)

The TP Link router is not resolving the hostnames of locally connected devices to their local IPs.

 

As you can see below, the router is being used as the DNS server for responding to queries (the router has IP 192.168.0.1).

 

43dee7296fcb4b97a721fd025fe02731

 

However, trying to ping devices by using the hostname which is listed under the router connected devices results in no devices being returned.

 

Is this expected behavior? Are there plans to update the DNS resolution of the router to first check hostnames of locally connected devices before forwarding requests?

  0      
  0      
#1
Options
7 Reply
Re:DNS does not resolve hostnames of connected devices
Thursday

  @DooDooDumDum 

 

I'm on Windows, no DIG, but NSLOOKUP is about the same I think?

 

I'm on a BE65, a BE11000 Deco unit running 1.1.7 f/w.

 

I can do some NSLOOKUPS, for instance to GOOGLE.COM:

 

e378c351a88149c7921c9dc3da2aa5dc

 

The DNS is not the Deco, but my ISP. I can PING Google as well:

 

b6bf3378376f421ea94f03515b5e4a01

 

Now trying to PING my PC I can:

7de960a842ac48deb7353803c625a1cd

 

Deco is at 67d651b2d40b457b9230e1bf2f57c79f by the way.

 

Now my PC trying to see what NSLOOKUP gives me fails.

 

b36735d83b1c437b9e10dbf80a89664b

 

I'd expect that though. The Deco DNS is my ISP's:

 

80f48bd9349e4daab13e27da40ed62cf

 

However on the Network Map, Client list all connections are resolved.

 

6bf158f88ba645398f2fc934af02c671

 

Maybe I'm missing something here? To get the list above, just use a web browser the IP Address of the Gateway/router and look at the Client list. Can get the same info from the Deco app or for a router, Tether. Seems all Deco's/Router's can also show the want via a web browser?

 

 

  0  
  0  
#2
Options
Re:DNS does not resolve hostnames of connected devices
Friday - last edited Friday

  @IrvSp perhaps I didn't provide enough context in my original message.

 

My TP Link router has IP 192.68.0.1. 

 

In the web interface for the router, I can see connected devices and their IPs, such as my media server, which has the hostname "media". The router has all of this information, as it's clearly listed in the web interface (the MAC address is redacted for privacy)

c7980882a3fd4a24b112e2d997b484f3

 

I would expect to be able to connect/ping/DNS-lookup my media server by using the hostname "media", and the router's DNS server should resolve that hostname to the IP address of the server (192.168.0.128).

 

However, using dig to try to resolve the "media" hostname returns nothing:

0f58a6202f5b4393b26923eed1bf7868

The screenshot above shows that the router's DNS server was used to resolve the name query (SERVER: 192.168.0.1#53). So the issue is clearly that the router is choosing not to resolve hostnames of locally connected devices to their IPs before forwarding the DNS request to an outside DNS server.

 

With most other routers I have used, they will first try to resolve DNS requests using hostnames of devices on the local network before forwarding the DNS request.

 

It seems strange that the TP Link router does not do this. My question is whether or not TP Link plans to support this in future firmware?

  0  
  0  
#3
Options
Re:DNS does not resolve hostnames of connected devices
Friday

  @DooDooDumDum 

 

No, I understood what data you wanted to get. I am on Windows and can't get it any way but via the iOS app or a Web Browser.

 

I've used and or tested many routers. None that I recall would show me the 'internal' connection information via windows. The closest in Windows would be the command NET VIEW but it would only show devices that has SHARES, no other devices would show. Maybe Linux did though?

 

As for TP-Link Routers/Deco's I've used, AX55, X55, A20, BE230, and now the BE65, all are the same, only way to see the Internal list is via web browser or iOS app (and Androids as well).

 

I've had other vendor routers too, and I do not recall any that give Windows the information you seek at to what is connected to the other via an OS command. Maybe it is only Windows vs. other OS's though?

 

Windows 24H2, the latest version appears to have a bug in Net View, so I can't even see the list of devices that have shares on the LAN, without using the SHARENAME.

 

Maybe a moderator will step in and give an authoratative answer for you.

  0  
  0  
#4
Options
Re:DNS does not resolve hostnames of connected devices
Friday - last edited Yesterday

@IrvSp I tihnk we're still speaking past each other. I am not looking for a terminal command which lists all devices connected to the router. I specifically want the DNS server on the router to resolve hostnames of connected devices to their local IPs.

 

My use case is that I want to be able to tell other people on my local network to visit http://media in their browser, and they will be able to access the webserver that my media server hosts. When this is done, the person's webbrowser will attempt to resolve the hostname "media", and the router should answer that DNS query and resolve the name to the IP address 192.168.0.128. That does not work today, their browser will display an error because the hostname "media" cannot be resolved to an IP. As I mentioned, other routers that I've used have done this correctly, and this was working before I got this new router.

 

I do hope a moderator can step in to let me know if this will be supported eventually, or if I have to go through the hassle of running my own local DNS server somewhere to fix it.

  0  
  0  
#5
Options
Re:DNS does not resolve hostnames of connected devices
Yesterday - last edited Yesterday

  @DooDooDumDum did you actually name the physical device in its settings? The client page is not (necessarily) the hostname, router will take a guess to start but you can edit those labels to whatever you want, it has nothing to do with DNS. I am able to browse to my Brother printer configuration page either with devicename or devicename.local. It's also possible that whatever "media" is does not actually register nor respond to its devicename.

  0  
  0  
#6
Options
Re:DNS does not resolve hostnames of connected devices
20 hours ago

DooDooDumDum wrote

My use case is that I want to be able to tell other people on my local network to visit http://media in their browser, and they will be able to access the webserver that my media server hosts.

  @DooDooDumDum 

 

I can tell you how to get around this easily.

 

Use a RESERVED IP Address for the Media device... Say 192.168.200.1, and have them use that.

 

Not as easy and a 'name' but it will work.

 

 

  0  
  0  
#7
Options
Re:DNS does not resolve hostnames of connected devices
8 hours ago

Hey  @apila22 yes, the device is named "media" as it's hostname on the machine. And using "media.local" through mDNS does work and is the workaround I'm currently using. However using mDNS means that all connecting devices have to support mDNS, and there are still a surprising number of devices that don't.

 

@IrvSp  I appreciate how much you've been helping. I'm currently using a static IP and mDNS where possible. But when a guest comes over being able to give them a simple "friendly name" to put in their browser is just preferable, that's the purpose of DNS and having hostnames.

 

I know the workarounds, this whole post was meant to just ask and understand if there's there's a plan from TP Link to support DNS resolution using hostnames of connected devices in future firmware, since this has always been a fairly common thing with my other routers and I do like to use it as feature.

Is there a better avenue for asking these kinds of questions, or maybe a feature request area that should be asked?

  0  
  0  
#8
Options