Created
April 25, 2014 04:37
-
-
Save yuya-takeyama/11277806 to your computer and use it in GitHub Desktop.
Linux サーバで使用している DNS の安全性をチェックするワンライナー ref: http://qiita.com/yuya_takeyama/items/a72ee65afab2c9640630
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -ane 'puts "Testing at #{$F[1]}...";puts `dig @#{$F[1]} +short porttest.dns-oarc.net TXT`;puts' /etc/resolv.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment