The default name resolution order is DNS, followed by NetBT.
If you wish NetBT to have priority over DNS, use Regedt32 to navigate to:
On the Edit menu, Add Value name DnsNbtLookupOrder, as a type REG_DWORD, and set the data value to 1. The default is 0.
You must restart your computer for this change to become effective.