Files
metasploit-gs/lib/net/dns
Spencer McIntyre cf6d324832 Nameservers from resolv.conf must be IP addresses
Fixes an infinite recursion error where Metasploit would attempt to
resolve a nameserver specified as a hostname in /etc/resolv.conf while
initializing.

Values for the namserver key in the resolv.conf file must be IP
addresses per the man page while the Resolver class in theory allows
them to be added by hostname however an existing one must be defined by
which it will be resolved.

This notably prevents IPv6 addresses with a scope ID from being allowed
in Ruby versions < 3.1.
2024-04-25 16:21:04 -04:00
..
2024-01-06 15:54:49 -05:00
2024-01-06 15:54:49 -05:00
2024-01-06 15:54:49 -05:00
2024-01-06 15:54:49 -05:00
2008-07-23 17:32:05 +00:00
2024-01-06 15:54:49 -05:00

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 $