Difference between revisions of "My public IP lookup"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Line 1: | Line 1: | ||
This service is run by an individual since 2011 reliably but notice should be taken.  | This service is run by an individual since 2011 reliably but notice should be taken.  | ||
<source lang="bash">  | |||
curl https://ipv4.icanhazip.com  | |||
curl https://ipv6.icanhazip.com  | |||
curl ifconfig.co  | |||
curl ifconfig.me  | |||
wget -qO - icanhazip.com  | |||
host myip.opendns.com resolver1.opendns.com | grep "myip.opendns.com has" | awk '{print $4}'  | |||
dig +short myip.opendns.com @resolver1.opendns.com  | |||
</source>  | |||
= References =  | = References =  | ||
*[https://ifconfig.co/ Ifconfig] Service allowing discover external ip using cli  | *[https://ifconfig.co/ Ifconfig] Service allowing discover external ip using cli  | ||
Revision as of 10:57, 18 August 2018
This service is run by an individual since 2011 reliably but notice should be taken.
curl https://ipv4.icanhazip.com
curl https://ipv6.icanhazip.com
curl ifconfig.co
curl ifconfig.me
wget -qO - icanhazip.com
host myip.opendns.com resolver1.opendns.com | grep "myip.opendns.com has" | awk '{print $4}'
dig +short myip.opendns.com @resolver1.opendns.com
References
- Ifconfig Service allowing discover external ip using cli