Router: Flint 2
Firmware: v4.8.2
Admin Client: EndeavourOS (Arch Linux based)
I’m confused by the resolution (or non-resolution) of hostnames to IP addresses for devices on the local LAN, as it seems very unpredictable.
Scenario
A simple home LAN setup with 4 network clients (all on physical Ethernet connections)-
- PC - My desktop PC. Named locally. Dynamic IP address from the router via DHCP
- Samsung - A smart TV. Named via the router “Description” field. Gets its IP address dynamically from the router via DHCP
- Ambeo - TV soundbar. Assigned a name and fixed IP address by the router DHCP config
- pve - Linux home server, running Proxmox (Debian based). Hostname and static IP address assigned on the machine, but with the same name and IP also set up in the router DHCP config
Behaviour
From the desktop PC-
-
A ping to any of: samsung, samsung.lan, samsung.local all work as expected. nslookup of the samsung, samsung.lan addresses work. (As I understand it the .local domain depends on mDNS so is not relevant to nslookup)
-
ping to ambeo.local works. I believe this is being sorted out via mDNS without name resolution by the router? However ping to ambeo or ambeo.lan both fail.
nslookup of ambeo gives the response: Can't find ambeo: No answer
nslookup of ambeo.lan results in: server can't find ambeo.lan: NXDOMAIN -
ping and nslookup of the addresses pve, pve.lan, pve.local all fail. I haven’t explicitly set up mDNS support on Promox, so the result for pve.local is not a surprise, but I don’t understand the failure to resolve the pve and pve.lan addresses?
nslookup of the pve and pve.lan addresses give the same results as above for the soundbar
Note-
The ambeo and pve devices are using the addresses assigned to them statically, so the ambeo in particular must be successfully using DHCP to the router, as it has no capability to set a fixed IP address itself (unlike the pve server).
In the router’s client list the pve and ambeo machines show as active, although the ambeo device is listed with the name “Unknown”
Ideally I want to be able to address any device by name, especially for ssh and http/https, but if someone can at least explain what the router SHOULD be doing with local addresses, and whether what i’m seeing is expected or not, that would be a start.