Name : perl-AnyEvent-DNS-EtcHosts
| |
Version : 0.0105
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.10
| Date : 2024-08-05 20:52:16
|
Group : Unspecified
| Source RPM : perl-AnyEvent-DNS-EtcHosts-0.0105-1.10.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : Use /etc/hosts before DNS
|
Description :
AnyEvent::DNS::EtcHosts changes AnyEvent::DNS behavior. The _/etc/hosts_ file is searched before DNS, so it is possible to override DNS entries.
The DNS lookups are emulated. This resolver returns the standard DNS reply based on _/etc/hosts_ file rather than real DNS.
You can choose a different file by changing \'PERL_ANYEVENT_HOSTS\' environment variable.
This module also disables the original AnyEvent::Socket\'s helper function which reads _/etc/hosts_ file after the DNS entry was not found. It prevents reading 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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-A/openSUSE_Tumbleweed/noarch |