Linux Commands | Network | nslookup Check Domain Information
nslookup Command
nslookup is a program that queries name servers.
It is used when you know an IP address but not the domain, or when you know a domain but not the IP address.
You can check domain information related to DNS records.
Usage
nslookup [domain or IP address]
nslookup Command Example
Example: Query Google
[devkuma@localhost ~]$ nslookup www.google.com
Server: 180.182.54.1
Address: 180.182.54.1#53
Non-authoritative answer:
Name: www.google.com
Address: 172.217.24.196