Add options to check-dns.rb manage unusual network configurations

Adds the following options.
    -p, --port PORT                  Port to use for name lookup
    -c, --use-tcp-connection         Use TCP for lookup