dns checker in bash