Allow to specify a custom port for DNS server.