Skip to content

Instantly share code, notes, and snippets.

@emilstahl
Last active Aug 29, 2015
Embed
What would you like to do?
Easy DMARC lookup
function dmarc
dig TXT +short _dmarc.$argv
end
#!/bin/bash
dig TXT +short _dmarc.$1
@emilstahl
Copy link
Author

emilstahl commented Aug 15, 2015

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