perl-Net-DNS-Method - Base class for Net::DNS::Server methods

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Net-DNS-Method
Package version 2.00
Package release alt1
Package architecture noarch
Package type rpm
Installed size 28.74 KB
Download size 28.74 KB
Official Mirror
This is a base class to help in the creation of method classes for use
within the Net::DNS::Server package. This class provides specific methods
to do nothing to particular DNS questions. In general, this class consists
of a number of methods that are called like in the following example.
=item `->A($q, $ans)'
This would be invoked by Net::DNS::Server upon the arrival of a query
of type 'A'.
The method can check the question, passed as a Net::DNS::Qustion
object in `$q'. Usually, the method will then modify the
Net::DNS::Packet object in `$ans' to provide an answer.
Net::DNS::Server will call sequentially all of the registered
Net::DNS::Method::* objects for a given question. After this sequence
of calls ends, the response can be sent depending on what the methods
have requsted.
The return value of the method is given as an OR of the following
=item `NS_IGNORE'
Requests that the current question be ignored.
=item `NS_STOP'
Requests that no further objects be invoked.
=item `NS_OK'
Indicates that the current method matched the question and presumably,
altered the answer. Control is passed to the next method in
sequence. After the last method is invoked, the answer will be sent to
the client unless `NS_IGNORE' is returned by this or a later method.
=item `NS_FAIL'
Indicates that the current method did not match the packet.
=item `NS_SPLIT'
Indicates that the response must be splitted in individual answers and
sent accordingly. This is used for AXFR requests.
There is one such method for each type of RR supported by
the Net::DNS manpage. Additionally, the `->ANY' method is provided, which
calls all the defined RRs in succession.


Package Version Architecture Repository
perl-Net-DNS-Method - - -


Name Value
/usr/share/perl5 -
perl(File/ -
perl(Net/ >= 0.380
perl(NetAddr/ >= 3.0
perl( -
rpmlib(PayloadIsLzma) -


Name Value
perl(Net/DNS/ = 2.0
perl(Net/DNS/Method/ = 2.0
perl(Net/DNS/Method/ = 2.0
perl(Net/DNS/Method/ = 2.0
perl(Net/DNS/Method/ = 2.0
perl(Net/DNS/Method/ = 2.0
perl-Net-DNS-Method = 2.00-alt1


Type URL
Binary Package perl-Net-DNS-Method-2.00-alt1.noarch.rpm
Source Package perl-Net-DNS-Method-2.00-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Net-DNS-Method rpm package:
    # sudo apt-get install perl-Net-DNS-Method



See Also

Package Description
perl-Net-DNS-Nameserver-Trivial-0.301-alt1.noarch.rpm Trivial DNS server, that is based on Net::DNS::Nameserver module
perl-Net-DNS-Nslookup-0.03-alt1.noarch.rpm perl module Net-DNS-Nslookup
perl-Net-DNS-Paranoid-0.08-alt1.noarch.rpm paranoid dns resolver
perl-Net-DNS-QueryID-0.02-alt1.noarch.rpm perl module Net-DNS-QueryID
perl-Net-DNS-RR-SRV-Helper-0.0.0-alt1.noarch.rpm perl module Net-DNS-RR-SRV-Helper
perl-Net-DNS-Resolver-Mock-1.20171219-alt1.noarch.rpm Mock a DNS Resolver object for testing
perl-Net-DNS-SPF-Expander-0.019-alt1.noarch.rpm Expands DNS SPF records, so you don't have to
perl-Net-DNS-SPF-Expander-scripts-0.019-alt1.noarch.rpm Net-DNS-SPF-Expander scripts
perl-Net-DNS-ValueDomain-DDNS-0.02-alt1.noarch.rpm Update your Value-Domain ( DynamicDNS records
perl-Net-DNS-Zone-Parser-0.02-alt1.noarch.rpm A Zone Pre-Parser
perl-Net-DNS-ZoneFile-Fast-1.27-alt1.noarch.rpm perl module Net-DNS-ZoneFile-Fast
perl-Net-DNS-ZoneParse-0.103-alt1.noarch.rpm Perl extension for Parsing and Writing BIND8/9
perl-Net-DNSBL-Client-0.206-alt1.noarch.rpm Client code for querying multiple DNSBLs
perl-Net-DNSBL-Client-scripts-0.206-alt1.noarch.rpm Net-DNSBL-Client scripts
perl-Net-DNSBL-Monitor-0.12-alt1.noarch.rpm Monitor DNSBL response