Closed adamlc closed 8 years ago
We could support passing in your own instance of Resolv::DNS.
Actually, we already support that!
resolver = Resolv::DNS.new(nameserver: '8.8.8.8')
SPF::Query::Record.query(..., resolver)
Fantastic! Must have missed that, thanks!
It would be nice to have configurable DNS servers. Unfortunately I'm not a ruby dev but looking at the code it should be fairly easy (famous last words)!
:+1: