Skip to content

Instantly share code, notes, and snippets.

@emilstahl
Last active August 29, 2015 14:27
Show Gist options
  • 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:[email protected]\; ruf=mailto:[email protected]\; fo=1"

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