Created
November 27, 2015 10:52
-
-
Save leventyalcin/2ec84b032791b9f723aa to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
tshark -l -2 -R \ | |
'(dns.qry.name == "DOMAINNAME.COM" or dns.qry.name == "SUB.DOMAIN.COM") and dns.response_to' \ | |
-T fields \ | |
-e frame.time \ | |
-e dns.time \ | |
-e dns.qry.name \ | |
-e dns.resp.addr \ | |
>> ALL_DNS_RESULTS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment