2,576 views
この記事は最終更新から 2270日 が経過しています。
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-01-24: 0回 2026-01-23: 0回 2026-01-22: 0回 2026-01-21: 2回 2026-01-20: 0回 2026-01-19: 0回 2026-01-18: 0回