added option "nameserver" to config file to set a custom nameserver for DNS queries