-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow custom DNS server #29
Comments
By default, pyspf uses dnspython or py[3]dns. Those packages have options for DNS server. For instance, py3dns calls
|
The hook in pyspf itself is spf.DNSLookup. By default this is set to spf.DNSLookup_dnspython, or if that can't be imported, to spf.DNSLookup_pydns. You could supply your own DNSLookup. |
It seems, that i was not clean enough. I mean to add the command line option to |
That can be done. |
Please, add option to use custom DNS server address.
I have split horizon DNS with SMTP server in my local infrastructure, thus i get local IP for A/MX records from system resolver and i cannot use this project to verify public IP with own SPF... Using custom DNS server will allow to bypass this restriction.
The text was updated successfully, but these errors were encountered: