Skip to content

Instantly share code, notes, and snippets.

@yuya-takeyama
Created April 25, 2014 04:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuya-takeyama/11277806 to your computer and use it in GitHub Desktop.
Save yuya-takeyama/11277806 to your computer and use it in GitHub Desktop.
Linux サーバで使用している DNS の安全性をチェックするワンライナー ref: http://qiita.com/yuya_takeyama/items/a72ee65afab2c9640630
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