resolve hostname to internet address or vice versa

Host Commands,It’s a good command to resolve the IP Address to Hostname of Hostname to IP Address ( it’s check file ‘/etc/hosts’) which you can use it on your script:

For Example

#host TEstServer
TEstServer is 10.10.10.10

 <a href="http://how-2-know.com/main/?p=305#more-305" class="continue-reading-link"> Continue reading <span class="meta-nav">&rarr; </span></a>