resolving dns to ip

If you are using a Linux environment and wanted to identify the server ip address from a given dns name. The following command can be used.

host <dns name address>

The output you get will be

<dns address> has address x.x.x.x


Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *