DNS-Unbound
view release on metacpan or search on metacpan
[DNS::Unbound::IOAsync](https://metacpan.org/pod/DNS%3A%3AUnbound%3A%3AIOAsync), and [DNS::Unbound::Mojo](https://metacpan.org/pod/DNS%3A%3AUnbound%3A%3AMojo), which provide
out-of-the-box compatibility with those popular event loop interfaces.
You should probably use one of these.
You can also integrate with a custom event loop via the `fd()` method
of this class: wait for that file descriptor to be readable, then
call this classâs `perform()` method.
# MEMORY LEAK DETECTION
Objects in this namespace will, if left alive at global destruction,
throw a warning about memory leaks. To silence these warnings, either
allow all queries to complete, or cancel queries you no longer care about.
# ERRORS
This library throws 3 kinds of errors:
- Plain strings. Generally thrown in âsimpleâ failure cases,
e.g., invalid inputs.
- [DNS::Unbound::X::Unbound](https://metacpan.org/pod/DNS%3A%3AUnbound%3A%3AX%3A%3AUnbound) instances. Thrown whenever
lib/DNS/Unbound.pm view on Meta::CPAN
L<DNS::Unbound::IOAsync>, and L<DNS::Unbound::Mojo>, which provide
out-of-the-box compatibility with those popular event loop interfaces.
You should probably use one of these.
You can also integrate with a custom event loop via the C<fd()> method
of this class: wait for that file descriptor to be readable, then
call this classâs C<perform()> method.
=head1 MEMORY LEAK DETECTION
Objects in this namespace will, if left alive at global destruction,
throw a warning about memory leaks. To silence these warnings, either
allow all queries to complete, or cancel queries you no longer care about.
=head1 ERRORS
This library throws 3 kinds of errors:
=over
=item * Plain strings. Generally thrown in âsimpleâ failure cases,
( run in 4.607 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )