NAME

AnyEvent::DNS::Nameserver - DNS server class using AnyEvent

SYNOPSIS

use AnyEvent::DNS::Nameserver;
my $nameserver = new Net::DNS::Nameserver(
    LocalAddr        => ['192.168.1.1' , '127.0.0.1' ],
    LocalPort        => "53",
    ReplyHandler => \&reply_handler,
    Verbose          => 1,
    Truncate         => 0
);
$nameserver->main_loop;

DESCRIPTION

Net::DNS::Nameserver doesn't work with AnyEvent so I wrote this module in honor of Net::DNS::Nameserver

AnyEvent::DNS::Nameserver try to be compatible with all the methods and features of Net::DNS::Nameserver

You can find more information and usage from Net::DNS::Nameserver

AnyEvent::DNS::Nameserver only support udp query and answer by now

SEE ALSO

https://github.com/sjdy521/AnyEvent-DNS-Nameserver

Net::DNS::Nameserver

AUTHOR

sjdy521, <sjdy521@163.com>

COPYRIGHT AND LICENSE

Copyright (C) 2014 by Perfi

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.