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



#host 127.0.0.1
loopback is 127.0.0.1,  Aliases:   localhost
This entry was posted in AIX and tagged , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.