13
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

グローバルIPアドレスを調べる(IPv4/IPv6)

Posted at

はじめに

自宅にIPv6が来るようになったので以前作ったグローバルIPアドレス取得ツールgipをIPv6対応にしてみました。
その際に調査したIPアドレス取得サービスの一覧もまとめておきます。

ツールの紹介

最新版をこちらからダウンロードして以下のように使えます。

$ gip -4
xxx.xxx.xxx.xxx
$ gip -6
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx

IPアドレス取得サービス

実際にはもう少し見つけましたが、応答の遅いものや
IPv4/IPv6を明示的に指定できないものは外しています。

Site URL Type Format
inet-ip.info http://inet-ip.info/ip v4 plane
httpbin.org http://httpbin.org/ip v4 json
ipify.org http://api.ipify.org v4 plane
ipv6-test http://v4.ipv6-test.com/api/myip.php v4 plane
ipv6-test http://v6.ipv6-test.com/api/myip.php v6 plane
ident.me http://v4.ident.me v4 plane
ident.me http://v6.ident.me v6 plane
13
10
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
10

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?