nslookup correctly looks up local system name, but browser cannot
I'm running dnsmasq on local lan to provide names for my local systems. On Windows 11, I can run nslookup to lookup the IP address of a local system, and it correctly reports the IP. In the browser, it spins for a while and says it can't find the name, but if I substitute the IP address, it brings up the web page just fine.
Same behavior in both Duck-Duck-Go and Microsoft Edge.
Do browsers not use the normal dns lookup?
Device name LenYoga
Processor AMD Ryzen 7 8840HS w/ Radeon 780M Graphics (3.30 GHz)
Installed RAM 16.0 GB (15.3 GB usable)
Graphics card AMD Radeon 780M Graphics (512 MB)
Storage 196 GB of 954 GB used
Device ID F0D22C24-61CA-45ED-9147-6544CB0D4944
Product ID 00342-22453-77357-AAOEM
System type 64-bit operating system, x64-based processor
Pen and touch Pen and touch support with 10 touch points
Edition Windows 11 Home
Version 25H2
Installed on 6/14/2025
OS build 26200.8457
Serial number YX0DGNB8
Experience Windows Feature Experience Pack 1000.26100.304.0