domainaware / checkdmarc

A parser for SPF and DMARC DNS records
https://domainaware.github.io/checkdmarc
Apache License 2.0
251 stars 77 forks source link

Include nameservers in call to check_wildcard_dmarc_report_authorization #51

Closed Archer36 closed 4 years ago

Archer36 commented 4 years ago

Hello, thanks for the great module! I noticed I was getting inconsistent data back and some DNS timeouts. After digging into it a bit, I discovered that a call to check_wildcard_dmarc_report_authorization was not passing the list of nameservers. Since no list was passed, it would default to the hardcoded ones blocked on my network.

Updating this call to pass the list of desired nameservers seemed to work and bring it inline with similar functions.

This is my first ever PR, I hope I did it right so please go easy on me :)

Thanks!