dns/p5-AnyEvent-DNS-EtcHosts 0.0105 DragonFly
Use /etc/hosts before DNS in Perl
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- dns, perl5
- Package size
- 9.0 KiB, 18.4 KiB installed
Description
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.
In the other systems
The newest version among them is 0.0105, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | none known | - | [email protected] | - |
| FreeBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | none known | - | [email protected] | - |
| HardenedBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | no data | - | [email protected] | - |
| GhostBSD | dns/p5-AnyEvent-DNS-EtcHosts | 0.0105 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-AnyEvent-DNS-EtcHosts
From DPorts:
cd /usr/dports/dns/p5-AnyEvent-DNS-EtcHosts && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.