fastmail / authentication_milter

Email Authentication by SPF/DKIM/DMARC etc.
Other
121 stars 21 forks source link

Maint: switch from rdatastr to rdstring #141

Closed marcbradshaw closed 1 year ago

marcbradshaw commented 1 year ago

Net::DNS has deprecated rdatastr in favour of rdstring

marcbradshaw commented 1 year ago

Fixes #138

rwfranks commented 1 year ago

$rr->rdstring() came into being in Net::DNS 1.01

Ideally metadata should reflect this.

rwfranks commented 1 year ago

Sadly, this is not going to work as you clearly intend.

use Net::DNS::Resolver 1.01;
printf "VERSION: %s\n", Net::DNS::Resolver->VERSION;

produces

VERSION: 1895
use Net::DNS 1.01

would be sufficient. There is no need to explicitly require any of Net::DNS's internal packages, most of which are loaded dynamically..