2,717 views
この記事は最終更新から 2381日 が経過しています。
jwhois コマンドは、日本語やIPv6にも対応した whoisクライアントです。
jwhois コマンドはインストール済み?
[user@ ~]# yum list installed | grep jwhois
なければインストールする。
[user@ ~]# yum -y install jwhois
情報を検索してみる。
[user@ ~]$ jwhois xxx.xxx.xxx.xxx
nslookup コマンドで DNS情報も見てみる。
nslookup xxx.xxx.xxx.xxx
いちいちIPアドレスやドメイン名を打ち込むのがめんどいのでスクリプトにまとめてみる。
#!/bin/sh # arg1: IP address echo "-------- (1)" nslookup $1 echo "-------- (2)" jwhois $1 echo "-------- End" #end
アクセス数(直近7日): ※試験運用中、BOT除外簡易実装済2026-05-15: 0回 2026-05-14: 0回 2026-05-13: 2回 2026-05-12: 1回 2026-05-11: 0回 2026-05-10: 1回 2026-05-09: 0回