Ejemplo n.º 1
0
 public DnsServer(MasterFile masterFile, IPAddress endServer, int port = DEFAULT_PORT) :
     this(masterFile, new IPEndPoint(endServer, port))
 {
 }
Ejemplo n.º 2
0
 public DnsServer(MasterFile masterFile, string endServer, int port = DEFAULT_PORT) :
     this(masterFile, IPAddress.Parse(endServer), port)
 {
 }
Ejemplo n.º 3
0
 public DnsServer(MasterFile masterFile, IPEndPoint endServer) :
     this(new FallbackRequestResolver(masterFile, new UdpRequestResolver(endServer)))
 {
 }