Michael Robinton > Net-DNS-QueryID > Net::DNS::QueryID

Download:
Net-DNS-QueryID-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source  

NAME ^

Net::DNS::QueryID - random Query ID numbers

SYNOPSIS ^

Functions to manage a cache of random Query ID's for DNS packets.

The purpose of this module is to provide and unpredictable source of 16 bit DNS Query ID numbers to help defeat cache poisoning using DNS Spoofing or "Man in the Middle" attacks as describe in the Wikipedia article and its references:

        http://en.wikipedia.org/wiki/DNS_cache_poisoning

  use Net::DNS::QueryID qw(
        id_get
        id_clr
        id_busy
  );

  $queryID = id_get();
  $result  = id_clr($queryID);
  $result  = id_busy($queryID);

EXPORTS_OK ^

        id_get
        id_clr
        id_busy

AUTHOR ^

Michael Robinton <michael@bizsystems.com>

COPYRIGHT 2012-2014 ^

Michael Robinton <michael@bizsystems.com>

All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  a) the GNU General Public License as published by the Free
  Software Foundation; either version 2, or (at your option) any
  later version, or

  b) the "Artistic License" which comes with this distribution.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.

You should have received a copy of the Artistic License with this distribution, in the file named "Artistic". If not, I'll be glad to provide one.

You should also have received a copy of the GNU General Public License along with this program in the file named "Copying". If not, write to the

        Free Software Foundation, Inc.
        59 Temple Place, Suite 330
        Boston, MA  02111-1307, USA

or visit their web page on the internet at:

        http://www.gnu.org/copyleft/gpl.html.
syntax highlighting: