@@ -189,17 +189,15 @@ dig @localhost 127-0-0-1.sslip.io +short # returns "127.0.0.1"
Experimental Features
Experimental features can change; don't depend on them.
Determining Your External IP Address via DNS Lookup
- You can use sslip.io's DNS servers (ns-aws.sslip.io
, ns-azure.sslip.io
,
- ns-gce.sslip.io
) to determine your public IP address by querying the TXT
record of
- ip.sslip.io
. If you're curious about your public IPv6 address, use the DNS server
- ns-aws.sslip.io
, for it has both IPv4 and IPv6 addresses:
+ You can use sslip.io's DNS servers (ns.sslip.io
) to determine your public IP address by querying
+ the TXT
record of ip.sslip.io
:
-dig @ns-aws.sslip.io txt ip.sslip.io +short # sample reply "2607:fb90:464:ae1e:ed60:29c:884c:4b52"
-dig @ns-aws.sslip.io txt ip.sslip.io +short -4 # forces IPv4 lookup; sample reply "172.58.35.231"
-dig @ns-aws.sslip.io txt ip.sslip.io +short -6 # forces IPv6 lookup; sample reply "2607:fb90:464:ae1e:ed60:29c:884c:4b52"
+dig @ns.sslip.io txt ip.sslip.io +short # sample reply "2607:fb90:464:ae1e:ed60:29c:884c:4b52"
+dig @ns.sslip.io txt ip.sslip.io +short -4 # forces IPv4 lookup; sample reply "172.58.35.231"
+dig @ns.sslip.io txt ip.sslip.io +short -6 # forces IPv6 lookup; sample reply "2607:fb90:464:ae1e:ed60:29c:884c:4b52"
- When querying for your IP address, always include the sslip.io nameserver (e.g. @ns-aws.sslip.io).
- If omitted, you won't get your IP address; instead, you'll get the IP address of your upstream nameserver.
+ When querying for your IP address, always include the sslip.io nameserver (e.g. @ns.sslip.io). If
+ omitted, you won't get your IP address; instead, you'll get the IP address of your upstream nameserver.
This feature was inspired by Google's DNS lookup, i.e. dig txt o-o.myaddr.l.google.com @8.8.8.8
+short
. There are also popular HTTP-based services for determining your public IP address: