freebsd-ports/dns/p5-AnyEvent-DNS-EtcHosts/pkg-descr
Stefan Eßer fb16dfecae Remove WWW entries moved into port Makefiles
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
2022-09-07 23:58:51 +02:00

13 lines
702 B
Text

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.