I have added a Ip address and computer name in my host file. Example is TEAM-ONE

When I go and ping this machine it works great by IP address but when by
name I get the following error message.

Could not understand "TEAM-ONE" as a host name or address. Please make
sure NETDB.NLM is loaded and SYS:ETC|RESOLV.CFG is configured correctly.
Press Enter to Continue.

I have other ones setup and they work fine. The example of one other is LOGITECH

Can anybody help me solve this issue.

Thank you.