Bert Hubert from PowerDNS made an interesting announcement today. Retrieving the coordinates for an IPv4 address with just a DNS query.
New PowerDNS service: get coordinates for every IPv4 address:
$ dig -t txt https://t.co/gBtMoc9U69 +short
“52.382401 4.899500”Based on @maxmind data. Uses reversed IP address, so this is 149.210.160.248.
— Bert Hubert ?? (@PowerDNS_Bert) December 24, 2017
Hopefully the country code will also be included, but this is an interesting way of using DNS as a directory service with public data.