Example #1
0
 public static IPAddress Resolve(string hostname, params IPEndPoint[] servers)
 {
     return(Dns2.ResolveInsert(hostname, () => Dns2.ResolveAddress(hostname, servers, false)));
 }
Example #2
0
 public static IPAddress Resolve(string hostname)
 {
     return(Dns2.Resolve(hostname, DefaultServers));
 }