Am 30. Aug, 2020 schwätzte Michael Butash via PLUG-discuss so:
Looks like that's hitting the website and returning the result. There are
a couple sites like that.
We tend to use icanhazip.com for $dayjob. Very handy to get data from
Didn't know about the /all option, thanks.
> So, I often check this in a few ways when bouncing around public internet,
> but I found today a very useful thing I never knew existed. Curl has a
> native script for checking this vs. pulling up google and typing "what is
> my ip address" or other ways. I wish I knew this existed since like
> Might be useful for systems folk, as typically any linux system I'm on
> tends to have curl for other things.
> [user@host ~]$ curl ifconfig.me
> [user@host ~]$ curl ifconfig.me/all
> ip_addr: x.x.x.x
> remote_host: unavailable
> user_agent: curl/7.71.1
> port: 57676
> method: GET
> mime: */*
> via: 1.1 google
> forwarded: x.x.x.x