… | |
… | |
187 | |
187 | |
188 | =item $AnyEvent::DNS::EDNS0 |
188 | =item $AnyEvent::DNS::EDNS0 |
189 | |
189 | |
190 | This variable decides whether dns_pack automatically enables EDNS0 |
190 | This variable decides whether dns_pack automatically enables EDNS0 |
191 | support. By default, this is disabled (C<0>), unless overridden by |
191 | support. By default, this is disabled (C<0>), unless overridden by |
192 | C<$ENV{PERL_ANYEVENT_EDNS0>), but when set to C<1>, AnyEvent::DNS will use |
192 | C<$ENV{PERL_ANYEVENT_EDNS0}>, but when set to C<1>, AnyEvent::DNS will use |
193 | EDNS0 in all requests. |
193 | EDNS0 in all requests. |
194 | |
194 | |
195 | =cut |
195 | =cut |
196 | |
196 | |
197 | our $EDNS0 = $ENV{PERL_ANYEVENT_EDNS0} * 1; # set to 1 to enable (partial) edns0 |
197 | our $EDNS0 = $ENV{PERL_ANYEVENT_EDNS0} * 1; # set to 1 to enable (partial) edns0 |