dns querier: gets a list of hosts and resolves ips
added error message when no input is received