> how to get the public IP and geolocation with `dig`
Yup, I wrote a DNS server that does just that. So, to find your public IP, you'd type the following:
`dig @ns.sslip.io ip.sslip.io txt +short`
It'll return your public IP.
[removed comments about unrelated services]