There are several commands involved with Nbtstat that allows several options such as: local cache lookup, WINS server query, broadcast, LMHOSTS lookup, Hosts lookup, and it is not for DNS server query.
Common parameters are: nbtstat -c: displays the contents of the NetBIOS name cache, the table of NetBIOS names and their resolved IP addresses. nbtstat -n: displays the names that have been registered locally on the system. nbtstat -r: displays the count of all NetBIOS names resolved by broadcast and querying a WINS server. nbtstat -R: purges and reloads the remote cache name table. nbtstat -RR: sends name release packets to WINs and then starts Refresh. nbtstat -s: lists the current NetBIOS sessions and their status, including statistics. nbtstat -S: lists sessions table with the destination IP addresses.