Created
April 10, 2022 05:58
-
-
Save tanaka-geek/5ffab8d28b0ada1685561995349602aa to your computer and use it in GitHub Desktop.
dns query dig +answer
This file contains hidden or 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
#!/bin/bash | |
dig ANY @127.0.0.1 helloworld.local +noall +answer | |
dig A @127.0.0.1 helloworld.local +noall +answer | |
dig AAAA @127.0.0.1 helloworld.local +noall +answer | |
dig TXT @127.0.0.1 helloworld.local +noall +answer | |
dig MX @127.0.0.1 helloworld.local +noall +answer | |
dig NS @127.0.0.1 helloworld.local +noall +answer | |
dig -x 192.168.0.2 @127.0.0.1 +noall +answer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment