Added dnsdomain options and made the search options an array (can be passed multiple times on the command line).