… | |
… | |
2136 | but support both and try to use both. C<PERL_ANYEVENT_PROTOCOLS=ipv4> |
2136 | but support both and try to use both. C<PERL_ANYEVENT_PROTOCOLS=ipv4> |
2137 | - only support IPv4, never try to resolve or contact IPv6 |
2137 | - only support IPv4, never try to resolve or contact IPv6 |
2138 | addresses. C<PERL_ANYEVENT_PROTOCOLS=ipv6,ipv4> support either IPv4 or |
2138 | addresses. C<PERL_ANYEVENT_PROTOCOLS=ipv6,ipv4> support either IPv4 or |
2139 | IPv6, but prefer IPv6 over IPv4. |
2139 | IPv6, but prefer IPv6 over IPv4. |
2140 | |
2140 | |
|
|
2141 | =item C<PERL_ANYEVENT_HOSTS> |
|
|
2142 | |
|
|
2143 | This variable, if specified, overrides the F</etc/hosts> file used by |
|
|
2144 | L<AnyEvent::Socket>C<::resolve_sockaddr>, i.e. hosts aliases will be read |
|
|
2145 | from that file instead. |
|
|
2146 | |
2141 | =item C<PERL_ANYEVENT_EDNS0> |
2147 | =item C<PERL_ANYEVENT_EDNS0> |
2142 | |
2148 | |
2143 | Used by L<AnyEvent::DNS> to decide whether to use the EDNS0 extension for |
2149 | Used by L<AnyEvent::DNS> to decide whether to use the EDNS0 extension for |
2144 | DNS. This extension is generally useful to reduce DNS traffic, especially |
2150 | DNS. This extension is generally useful to reduce DNS traffic, especially |
2145 | when DNSSEC is involved, but some (broken) firewalls drop such DNS |
2151 | when DNSSEC is involved, but some (broken) firewalls drop such DNS |