Mac Terminal Lookup IP or Domain Geographical

Mac Terminal Lookup IP or Domain Geographical

From time-to-time I need to find the geographic location of any IP address or its domain name. It’s quickest for me to do this from the Mac Terminal. Here’s a shortcut you can set up to make it really easy to get the GEOIP data for a domain name or IP...
Find DNS server IP from command line

Find DNS server IP from command line

Here are the command line / Terminal.app commands you can use to retrieve the active DNS server IP addresses on any Mac. Launch the Terminal (Command-space for Spotlight, then type in Terminal). Type or paste in the following command: Mac OS X 10.7 Lion: networksetup...