There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Allow custom port on DnsClient constructor
I'd like to request that you support an additional constructor that accepts a custom port for DnsClient. This is particularly useful when using Consul.io as the local DNS agent listens on port 8600.
public DnsClient(IEnumerable dnsServers, int queryTimeout, int port)
: base(dnsServers, queryTimeout, port)
IsUdpEnabled = true;
IsTcpEnabled = true;