Curtis Free |
Husband · Dad · Geek |
BlogSimple yet thorough hostname resolution in Mac OS X @ 02 Dec 2012There are many CLI tools available to resolve IPs for domain names, such as Fortunately, in Mac OS X the tool
Note that this works for both DNS-resolvable hosts and those you've defined:
This function will work in both ZSH and BASH, and it should be adaptable to your favorite shell. | |
[ CC BY-SA 4.0 ] |