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