gip -- get an IP in a geographical location or country


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.


HTML Form

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:

Country name, country code, or AWS region to look up:
Output: IP Address
CIDR subnet
Include results: both IPv4 and IPv6
only IPv4
only IPv6

curl(1) Examples

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
$ 


[Made by @jschauma] | [Other Signs of Triviality] | [main page]