Dig Installation sudo apt install dnsutils Example Find My Public IP Address dig +short myip.opendns.com @resolver1.opendns.com Bahan Bacaan How To Find My Public IP Address From Command Line On a Linux