Adding extension .lan to some devices and to some devices not

I am running the OpenWRT 24.10.1 on a TP-Link ER605-v2.

It's a little bit weird what I can see in my network if I run the Advance IP Scanner:

  • some devices come up as specified in the Static Leases table (e.g. Dell-5060-I)
  • and some of them come up with the extension .lan (e.g. Dell-5060-II.lan).

This is causing some problems to me because when I do some sql-statements on a MariaDB database running on my QNAP-NAS, the computer with the .lan-extension is said to be unknown while the other one without .lan-extension is running fine.

Is there any setting somewhere to suppress that adding of .lan-extension to all of my devices ?

IMHO an easier way would be to just add the .lan extension to the static leases


If using LuCI
Network ➙ DHCP and DNS ➙ General ➙ Local Domain

via CLI (uci)
Look for the domain option at https://openwrt.org/docs/guide-user/base-system/dhcp#all_options