Many times I find myself needing to keep track of a host on a DHCP’d network where its IP address is subject to change. Here are a collection of command line methods for discovering your IP using both curl/http and dns lookups. HTTP based lookups curl icanhazip.com curl -s 'http://checkip.dyndns.org' […]