Find the IP address of your domain in the terminal

On Linux systems, you can find the IP address of your domain in a terminal application without using a third-party web service. You can also check multiple domains at once. This article describes how to use a terminal application to get the IP address of a domain on the command line. I’m using Ubuntu to test all these commands. All of these command line tools are installed on your Ubuntu system. Open a terminal application (ctrl + alt + t) and run all the following commands one at a time to see the results.

1. Use the host command to find the IP address of the domain

Host commands are a simple command line application for performing DNS domain name system lookup operations.At the terminal run

host connectwww.com

Host command

in short

host connectwww.com | grep "has address" | sed 's/has address/-/g'

Host command

2. Use the nslookup command to find the IP address of the domain

nslookup is a free network management command line tool for querying DNS records.

nslookup connectwww.com

nslookup command

3. Use the ping command to find the IP address of your domain

ping Packet Internet Groper is a small free network tool.

ping -c 3 connectwww.com

ping command

4. Use the dig command to find the IP address of the domain

dig is a small command line tool for querying DNS records, also known as the domain information grouper.

dig connectwww.com

dig command

Recommended Reading: How to Install a Productivity Timer on Ubuntu-Time Management App

that’s all.

If you like this article, subscribe YouTube channel..You can also stay connected with us twitter And Facebook..

..

Sidebar