LoginSignup
0
0

More than 5 years have passed since last update.

dns問い合わせを毎分行うscript

Posted at

dnsの調子が悪い時に叩くと、復帰した時がわかーる

bash /dns example.com 8.8.8.8
#!/bin/bash

# dns問い合わせ連続でする

while true;
do

  date
  nslookup $@
  sleep 60

done

別にscriptにする必要もないけど、いろいろ足しやすいので。

0
0
0

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
0
0