SPF stands for "Sender Policy Framework" and used to authenticate email sender for forgery
More on the SPF can be found at the wiki page
https://en.wikipedia.org/wiki/Sender_Policy_Framework
################################
check for SPF records for a domain partylead.com
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]# dig partylead.com any
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.3 <<>> partylead.com any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16440
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;partylead.com. IN ANY
;; ANSWER SECTION:
partylead.com. 14400 IN MX 0 partylead.com.
partylead.com. 14400 IN TXT "google-site-verification=2VDQyykq7qhsJ-WSHQOeYyDIe_qBTrIPm_KLFKwv_yU"
partylead.com. 14400 IN TXT "v=spf1 +mx +a +ip4:162.214.71.181 ~all"
partylead.com. 86400 IN SOA ns1.ecservicecenter.com. emogokay.gmail.com. 2021022007 3600 1800 1209600 86400
partylead.com. 86400 IN NS ns2.ecservicecenter.com.
partylead.com. 86400 IN NS ns1.ecservicecenter.com.
partylead.com. 14400 IN A 162.214.71.181
;; Query time: 52 msec
;; SERVER: 74.220.195.27#53(74.220.195.27)
;; WHEN: Sat Feb 20 09:52:49 CST 2021
;; MSG SIZE rcvd: 309
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]#
or same results you would get with this command below:
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]# host -a partylead.com
Trying "partylead.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51200
;; flags: qr rd ra; QUERY: 1, ANSWER: 7, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;partylead.com. IN ANY
;; ANSWER SECTION:
partylead.com. 14296 IN MX 0 partylead.com.
partylead.com. 14296 IN TXT "google-site-verification=2VDQyykq7qhsJ-WSHQOeYyDIe_qBTrIPm_KLFKwv_yU"
partylead.com. 14296 IN TXT "v=spf1 +mx +a +ip4:162.214.71.181 ~all"
partylead.com. 86296 IN SOA ns1.ecservicecenter.com. emogokay.gmail.com. 2021022007 3600 1800 1209600 86400
partylead.com. 86296 IN NS ns1.ecservicecenter.com.
partylead.com. 86296 IN NS ns2.ecservicecenter.com.
partylead.com. 14296 IN A 162.214.71.181
Received 298 bytes from 74.220.195.27#53 in 1 ms
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]#
################################
DKIM stands for "DomainKeys Identified Mail" is an email authentication mechanism to protect "email spoofing"
more on DKIM can be found at the wiki page
https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail
################################
check for DKIM records for a domain partylead.com
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]# dig TXT default._domainkey.partylead.com
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.3 <<>> TXT default._domainkey.partylead.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7016
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;default._domainkey.partylead.com. IN TXT
;; ANSWER SECTION:
default._domainkey.partylead.com. 14400 IN TXT "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0+EMhaVZswoyzpoa7vEOkO+zessazDHzyuFIfu0neEmQUSG/Ni0pndGU6e7QPTseH8J3zRXUNHVQ4DeSrz1PQ2VG3cVUxkcU9flAKSF9OFBEGWW7F4zrSmTJnqX6iVKXBcfuYnG0+yl5t1I6+BakpQeGSJoljJCsjA4yO0/zUio+DpeyD4EtLvrHi+WyP98R/" "b2SnrwMPPLzAR95Nhsy8wQLjaOC6v/a1JOodkeQmOn438j5zwOq/BMnmvKx1iCT2fSQC4kS/owzsg1iF6AJNOGsKlu1BoeBgR9Ei54YI8zWrsUHQhenAk8Zjpb/NCwhmArNYEwD5YHPQrp/ojXTxwIDAQAB;"
;; AUTHORITY SECTION:
partylead.com. 86400 IN NS ns1.ecservicecenter.com.
partylead.com. 86400 IN NS ns2.ecservicecenter.com.
;; Query time: 37 msec
;; SERVER: 74.220.195.27#53(74.220.195.27)
;; WHEN: Sat Feb 20 09:50:10 CST 2021
;; MSG SIZE rcvd: 538
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]#
################################
DMARC stands for "DMARC (Domain-based Message Authentication, Reporting and Conformance)" it gives the ability to domain owner to protect their domain from unauthorized use aka "email spoofing"
more details on DMARC can be found on the wiki page:
https://en.wikipedia.org/wiki/DMARC
################################
check for DMARC records for a domain partylead.com
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]# dig TXT _dmarc.partylead.com
; <<>> DiG 9.11.4-P2-RedHat-9.11.4-26.P2.el7_9.3 <<>> TXT _dmarc.partylead.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19205
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_dmarc.partylead.com. IN TXT
;; ANSWER SECTION:
_dmarc.partylead.com. 14400 IN TXT "v=DMARC1;p=reject;sp=reject;adkim=r;aspf=r;pct=100;fo=0;rf=afrf;ri=86400;rua=mailto:This email address is being protected from spambots. You need JavaScript enabled to view it.;ruf=mailto:This email address is being protected from spambots. You need JavaScript enabled to view it."
;; AUTHORITY SECTION:
partylead.com. 86400 IN NS ns1.ecservicecenter.com.
partylead.com. 86400 IN NS ns2.ecservicecenter.com.
;; Query time: 38 msec
;; SERVER: 74.220.195.27#53(74.220.195.27)
;; WHEN: Sat Feb 20 09:51:17 CST 2021
;; MSG SIZE rcvd: 258
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]#
################################