DNS Lookup Tool
The nslookup command looks up the IP address of a website or checks DNS information. It's like looking up someone's phone number in a directory.
When you type a website name like "google.com", DNS servers translate it to an IP address like "142.250.80.46". This command lets you see that translation and check if DNS is working properly. Super useful for troubleshooting website access issues.
Advertisement
[ Insert Google AdSense Banner Code Here ]
Look up the IP address of any website or domain name.
Verify if DNS is working correctly or causing issues.
View mail servers (MX), nameservers (NS), and other DNS records.
Find the domain name associated with an IP address.
nslookup google.com Find the IP address for google.com.
nslookup 8.8.8.8 Reverse lookup - find the domain name for IP address 8.8.8.8.
nslookup -type=mx google.com Look up mail server records for google.com.
nslookup google.com 8.8.8.8 Query a specific DNS server (Google's DNS in this case).
nslookup -type=ns google.com Find the name servers responsible for google.com.
Practice nslookup commands in the interactive terminal below: