command to know the IP address

I know the hostname of the m/c which is in the network...
whats d command to know the ip address associated with the hostname.

you can use tools like dig, nslookup, ping , host etc. one example i use host, assuming you are on your own network.

host <yourservername>