metasploit-framework/lib/net/dns
RageLtMan 7cc7fe71db Address net-dns additional records empty array
Conversion between packet formats can create empty additional
answers fields, which net-dns cannot handle.

Update net-dns' packet parser to be able to deal with empty arrays
such that it doesn't try to call :data on a nil, which is the only
element of an empty array.

Props to mubix for identifying this issues.
2017-06-24 20:27:19 -04:00
..
names Minor spelling correction: lenght => length 2017-05-05 10:42:33 -05:00
resolver Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
rr handle Ruby 2.4 Fixnum/Bignum -> Integer deprecations 2017-01-22 10:20:03 -06:00
README Import the Net-DNS library 2008-07-23 17:32:05 +00:00
dns.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
header.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
packet.rb Address net-dns additional records empty array 2017-06-24 20:27:19 -04:00
question.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
resolver.rb Dont store AXFR answers if there are no answers 2016-02-04 10:28:11 -08:00
rr.rb Load hinfo support, fix broken hinfo code 2016-02-18 23:22:17 -08:00

README

Net::DNS README
============

  This is a port of the Perl Net::DNS module, written by Michael Fuhr
and now currently maintained by Olaf Kolkman (www.net-dns.org). It
keeps the same interfaces and function names, although has a bit
improved OO and some other stuff.
It can be used to query DNS servers for various kind of records, perform
zone transfer and dynamic updates. It has even a class for acting as a
nameserver.
This version is quite incomplete. You can use it as a resolver.


Requirements
------------

  * Ruby 1.6


Install
-------

  De-compress archive and enter its top directory.
  Then type:

   ($ su)
    # ruby setup.rb

  These simple step installs this program under the default
  location of Ruby libraries.  You can also install files into
  your favorite directory by supplying setup.rb some options.
  Try "ruby setup.rb --help".


Usage
-----

  Have a look on the manual pages.
  In doc/ you will find many useful documents too.


License
-------

  Net::DNS is distributed under the same license Ruby is.


Author
------

  See AUTHORS


#	$Id: README,v 1.2 2005/06/17 15:11:18 bluemonk Exp $