FDNS - File DNS Scan
--------------------

This program scans files for domain names and resolves all of the names
into IP addresses.

Valid Internet domain names may only contain letters (A through Z), numbers
(0 through 9), dash (-) and period (.) characters. All other characters are
invalid and for the purposes of this program are considered delimiters.
This means it may be possible to find domain names inside of binary files,
although this has not been tested. ASCII text is the preferred file format.

Syntax 1: FDNS <file> [/U] [/V]

Syntax 2: FDNS <domain> [/U] [/V]

  If the first parameter on the command line appears to be a file name and
  that name exists, the file is scanned for any word that contains at least
  one period and consists only of valid DNS alpha-numeric characters.

  If the first parameter is not a file name and appears to be a valid
  Internet domain name, it is resolved.

  The Unconditional /U switch is useful for files where you want to test
  all of the words even if they do not contain a period. This allows
  testing root domains (e.g. COM, NET, EDU, GOV) or similar text in any
  file.

  The optional /V command line switch enables verbose mode that shows extra
  detail. The default is to only show the first IP addresses found.

Example 1: FDNS DNSCACHE.LST

Example 2: FDNS example.com

Output from example 2:

 208.77.188.166  = example.com


The screen output may be redirected as needed. Only the IP address and
domain name information may be redirected. Program title and state
information is not sent to redirected output to make that output easier to
parse by other programs.

The title bar shows the current domain name in the queue for easy progress
monitoring even while minimized.

Press the Escape key to abort the scanning process. This is not an
immediate abort, but gracefully aborts after the current DNS lookup
completes or times out.

WARNING: This program opens an active winsock connection. Aborting or
         closing the program without using the Escape key can strand
         winsock in a state that can eventually make Windows unstable
         or crash! You have been warned.

You can find the latest version of this program and a number of other
useful tools on the www.ifxgroup.net web site.

Copyright 2008, Casey Sprangel, all rights reserved.
