Unable to resolve IP address from domain name

I am currently on a corporate network. My computer's network settings:

  • IPv4 address: 172.29.13.196
  • Netmask: 24
  • Gateway: 172.29.13.230
  • DNS: 172.29.11.231 (not on the same subnet, but I know it is normal)

I try to resolve a local PC address by its name (maybe NETBIOS name?) and it works:

livy@ubuntu:~$ nslookup pc141.mycompany.local
Server:		127.0.0.53
Address:	127.0.0.53#53

Non-authoritative answer:
Name:	pc141.mycompany.local
Address: 172.29.13.141

I've set up an OpenWrt router with the following configurations:

config interface 'wan'
	option	ifname		'eth1'
	option	proto		static
	option	ipaddr		172.29.13.73
	option	netmask		255.255.255.0
	option	gateway		172.29.13.230
	option	dns		172.29.11.231

Using SSH to connect to the router, however, I cannot resolve the same host address:

root@OpenWrt:/etc/config# nslookup pc141.mycompany.local
Server:		127.0.0.1
Address:	127.0.0.1#53

** server can't find pc141.mycompany.local: NXDOMAIN
** server can't find pc141.mycompany.local: NXDOMAIN

What could be the cause of the problem?

This domain is reserved for mDNS, you should not use it for anything else.
It's best to use lan for your home network.

Using nslookup to query mDNS doesn't work in general case.
You need to rely on tools that support it, e.g. resolvectl.