10 lines
238 B
Python
10 lines
238 B
Python
|
from checkdmarc.dmarc import check_dmarc
|
||
|
from checkdmarc.spf import check_spf
|
||
|
import validators
|
||
|
|
||
|
|
||
|
def lookup(host: str) -> tuple:
|
||
|
result_dmarc = check_dmarc(host)
|
||
|
result_spf = check_spf(host)
|
||
|
return (result_dmarc, result_spf)
|