dns.hpp: allow to specify the nameserver
dns.hpp: add namespace