Sometimes you want to see what a service would do if you fed it an IP address in a different geographic location (e.g., EDNS Client Subnet). The gip(1) tool lets you get an IP address or CIDR subnet in a given location. Please see the manual page for full details.
Knowing that people are very lazy and often times don't want to even install a trivial command-line tool, here's an HTML form for you:
Ah, yes, people can be even lazier! Why use a browser when you have curl(1)? Ok, ok, we'll keep it simple. Here are some examples:
$ curl https://www.netmeister.org/gip/?location=de 45.137.202.112 2a09:d180::79 $ curl "https://www.netmeister.org/gip/?location=sa-east-1&output=cidr&ip=v6" 2600:1f01:4840::/47 $ curl "https://www.netmeister.org/gip/?location=Czech+Republic&ip=v4" 5.183.13.0 $ curl "https://www.netmeister.org/gip/?location=RFC1918" 172.16.235.59 $ curl "https://www.netmeister.org/gip/?location=link-local" 169.254.223.92 fe80::f9 $ curl "https://www.netmeister.org/gip/?location=127.0.53.53&reverse=yes" namecollision (127.0.53.53/32) loopback (127.0.0.0/8) $