No DNS entries exist for host ax2012r2a

Microsoft.Dynamics.Retail.Pos.Dialog.WinFormsTouch.formInventoryLookup, Text: Inventory lookup: System.ServiceModel.EndpointNotFoundException: No DNS entries exist for host ax2012r2a. —> System.Net.Sockets.SocketException: No such host is known

Above error is generated while accessing AX Dynamics 2012 r2 server from separate workstation through Retail POS. The error is logged right at Inventory lookup.

Following error is displayed at front end side.
error number 13010 could not connect to the transaction service.

What dns etries are required and in which file modifications will be made.

Right now we restore MS pre-configured contoso vm database to our testing MS Dynamics Environment.