Skip to content

Instantly share code, notes, and snippets.

@emilstahl
Last active August 29, 2015 14:27
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 emilstahl/01abb44137202d589fbd to your computer and use it in GitHub Desktop.
Save emilstahl/01abb44137202d589fbd to your computer and use it in GitHub Desktop.
Easy DMARC lookup
function dmarc
dig TXT +short _dmarc.$argv
end
#!/bin/bash
dig TXT +short _dmarc.$1
@emilstahl
Copy link
Author

Example

emil@MacBook-Pro ~> dmarc emilstahl.dk
"v=DMARC1\; p=reject\; rua=mailto:mailauth-reports@srv1.dk\; ruf=mailto:mailauth-reports@srv1.dk\; fo=1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment