public DnsListener(IPEndPoint localEndPoint, DnsQueryResolver resolver)
 {
     this.localEndPoint = localEndPoint;
     this.resolver = resolver;
     this.state = State.Stopped;
 }
 public DnsListener(DnsQueryResolver resolver)
     : this(new IPEndPoint(IPAddress.Any, 53), resolver)
 {
 }