[-] MaskedNybbles@piefed.social 4 points 1 day ago* (last edited 1 day ago)

My fuzzy memory wants to say it uses/is based atop UDP, and makes it more reliable.

Just checked before posting, and that seems to be the case on a cursory glance of its wiki article: https://en.wikipedia.org/wiki/QUIC

[EDIT] Should have read the article first—and it does mention UDP by the end.

[-] MaskedNybbles@piefed.social 1 points 6 days ago* (last edited 6 days ago)

This is a service provided by some DNS hosts, with their own special subdomains, and is not universal. They may also require slightly different options.

Other options include:

  • Google (query for txt record): @ns1.google.com o-o.myaddr.l.google.com

  • Akaimai (query for txt record): @ns1-1.akamaitech.net whoami.akamai.net

  • Cloudflare: @1.1.1.1 whoami.cloudflare

  • Cisco (there are four, as far as can tell): @resolver[1-4].opendns.com myip.opendns.com

…and likely others.

[-] MaskedNybbles@piefed.social 2 points 1 week ago* (last edited 1 week ago)

dig -6 +short @resolver2.opendns.com myip.opendns.com AAAA

Note: You have to ensure you are actually contacting the server with IPv6.

[-] MaskedNybbles@piefed.social 3 points 1 week ago* (last edited 1 week ago)

I worry less about the service breaking, changing, or otherwise disappearing, over a random website.

EDIT: Also what was said in a sibling comment.

[-] MaskedNybbles@piefed.social 1 points 1 week ago* (last edited 1 week ago)

I saw it used in another comment, and am already aware of the use of curl for such a task, but choose to query DNS services instead—especially in scripts.

[-] MaskedNybbles@piefed.social 3 points 1 week ago* (last edited 1 week ago)
#!/usr/bin/sh  
dig -4 +short @resolver2.opendns.com myip.opendns.com  
#!/usr/bin/pwsh  
Resolve-DnsName -Server resolver2.opendns.com -Name myip.opendns.com -Type A | % { echo $_.IPAddress }  

There should be an IPv6 resolver, but I don't remember and am currently unable to test. My PowerShell skills are also effectively non-existent.

MaskedNybbles

joined 2 weeks ago