Knowledge Base
Topics
checkip.dns.lightningwirelabs.com
Getting the public IP address is hard when you are behind a NAT router. This service will tell you what your IP address is.
Send an HTTP GET request to checkip.dns.lightningwirelabs.com
and it will return the IP address the request came from.
[ms@rice-oxley ~]$ wget -qO - http://checkip.dns.lightningwirelabs.com Your IP address is: 2001:db8::1234
Protocols
By default, checkip.dns.lightningwirelabs.com
is available
via IPv6 and IPv4. The client decides over which protocol the request
is sent.
If you want to make sure to use the protocol you want, you may pick one of the options below.
Forcing IPv6
Use http://checkip6.dns.lightningwirelabs.com
because
this DNS record will only resolve in an IPv6 address.
If you are accessing this URL via IPv4, it won't be reachable.
Forcing IPv4
Use http://checkip4.dns.lightningwirelabs.com
because
this DNS record will only resolve in an IPv4 address.
If you are accessing this URL via IPv6, it won't be reachable.