p5-AnyEvent-DNS-EtcHosts - AnyEvent::DNS::EtcHosts - Use /etc/hosts before DNS

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly amd64
Package filename p5-AnyEvent-DNS-EtcHosts-0.0103_1.txz
Package name p5-AnyEvent-DNS-EtcHosts
Package version 0.0103
Package release 1
Package architecture amd64
Package type txz
Category dns perl5
Homepage https://metacpan.org/pod/URL::Encode
License GPLv1+, ART10
Maintainer dgeo@centrale-marseille.fr
Download size 8.92 KB
Installed size 17.79 KB
AnyEvent::DNS::EtcHosts AnyEvent::DNS behavior to use /etc/hosts
The DNS lookups are emulated. This resolver returns the standard DNS reply based
on /etc/hosts file rather than real DNS.
You can choose different file by changing PERL_ANYEVENT_HOSTS
environment variable.
This module also disables original AnyEvent::Socket's helper function
which reads /etc/hosts file after DNS entry was not found.
It prevents to read this file twice.
The AnyEvent::Socket resolver searches IPv4 and IPv6 addresses separately.
If you don't want to check the addresses in DNS, both IPv4 and IPv6 addresses
should be placed in /etc/hosts or the protocol family should be set explicitly
for resolve_sockaddr function.
WWW: https://metacpan.org/pod/URL::Encode


Package Version Architecture Repository
p5-AnyEvent-DNS-EtcHosts-0.0103_1.txz 0.0103 i386 FreeBSD Ports Quarterly
p5-AnyEvent-DNS-EtcHosts-0.0103_1.txz 0.0103 i386 FreeBSD Ports Latest
p5-AnyEvent-DNS-EtcHosts-0.0103_1.txz 0.0103 amd64 FreeBSD Ports Latest
p5-AnyEvent-DNS-EtcHosts - - -


Name Value
p5-AnyEvent = 7.15,1
perl5 = 5.28.1_1


Type URL
Mirror pkg.freebsd.org
Binary Package p5-AnyEvent-DNS-EtcHosts-0.0103_1.txz
Source Package dns/p5-AnyEvent-DNS-EtcHosts

Install Howto

Install p5-AnyEvent-DNS-EtcHosts txz package:

# pkg install p5-AnyEvent-DNS-EtcHosts

See Also

Package Description
p5-AnyEvent-Filesys-Notify-1.21.txz Perl extension for AnyEvent compat to monitor file/dir changes
p5-AnyEvent-Gearman-0.10_1.txz Asynchronous Gearman client/worker module for AnyEvent applications
p5-AnyEvent-Graphite-0.08_1.txz Non-blocking Graphite client
p5-AnyEvent-HTTP-2.22,2.txz Simple but non-blocking HTTP/HTTPS client
p5-AnyEvent-HTTP-LWP-UserAgent-0.10_1.txz Perl extension for LWP::UserAgent interface using AnyEvent::HTTP
p5-AnyEvent-HTTPD-0.93_1.txz Simple lightweight event based web server
p5-AnyEvent-I3-0.17.txz Communicate with the i3 window manager
p5-AnyEvent-IRC-0.97_1.txz Event system independent IRC protocol module
p5-AnyEvent-MPRPC-0.20_1.txz Perl extension for simple TCP-based MPRPC client/server
p5-AnyEvent-MQTT-1.142640_1.txz AnyEvent::MQTT - AnyEvent module for an MQTT client
p5-AnyEvent-Memcached-0.05_1.txz AnyEvent memcached client
p5-AnyEvent-MessagePack-0.19_1.txz Perl extension of AnyEvent for MessagePack
p5-AnyEvent-Mojo-0.8003_2.txz Perl extension to start async Mojo servers easily
p5-AnyEvent-RPC-0.05_1.txz Abstract framework for RPC clients
p5-AnyEvent-RabbitMQ-1.19.txz Asynchronous and multi channel Perl AMQP client