[net-dns-users] CD flag in Net::DNS::Resolver

Hugo Salgado hsalgado at nic.cl
Tue Feb 26 14:49:21 UTC 2013


Hi. I'm trying to setup a resolver object with "checking disabled", to
avoid dnssec checks.

In the docs it seems to be a "cdflag" which must be set in addition
to "dnssec", but it's not working.

Reading the source, it seems to be that "cdflag" is not promoted as a
"public_attr". I added a single line:

--------
@@ -151,7 +151,6 @@
 	persistent_udp
 	dnssec
 	ignqrid
+	cdflag
 );
--------

in Resolver/Base.pm ($Id: Base.pm 1094 2012-12-27 21:35:09Z willem), and
now works.

Regards,

Hugo

ps: I've just filed a ticket in cpan
    https://rt.cpan.org/Ticket/Display.html?id=83642



More information about the net-dns-users mailing list