Use a command-line tool like `nslookup` or `dig`
Run `nslookup example.com`
Run `dig example.com`
Use the `ping` command to see the IP address in the response
Check the website’s DNS records with an online DNS lookup tool
Use `tracert` on Windows or `traceroute` on macOS/Linux
Open your router or network settings to view your local IP address
Use `ipconfig` on Windows
Use `ifconfig` or `ip addr` on macOS/Linux
Check your public IP address with a search engine or IP lookup site
