[TestFixture]\r
public class DnsTest\r
{\r
- private String site1Name = "www.go-mono.com",\r
- site1Dot = "130.57.21.18",\r
+ private String site1Name = "go-mono.com",\r
+ site1Dot = "74.208.222.19",\r
site2Name = "info.diku.dk",\r
site2Dot = "130.225.96.4",\r
noneExistingSite = "www.unlikely.novell.com";\r
- private uint site1IP = 2180692201, site2IP = 2195808260; // Big-Endian\r
+ private uint site1IP = 1255202323, site2IP = 2195808260; // Big-Endian\r
\r
[Test]\r
public void AsyncGetHostByName ()\r
IAsyncResult async = Dns.BeginGetHostByName (site1Name, null, null);\r
IPHostEntry entry = Dns.EndGetHostByName (async);\r
SubTestValidIPHostEntry (entry);\r
- Assert.AreEqual ("www.go-mono.com", entry.HostName);\r
+ Assert.AreEqual ("go-mono.com", entry.HostName);\r
}\r
\r
void GetHostByNameCallback (IAsyncResult ar)\r
}\r
\r
[Test]\r
- [Ignore ("Fails on both Mono and MS")]\r
public void GetHostByAddressIPAddress2 ()\r
{\r
IPAddress addr = new IPAddress (IPAddress.NetworkToHostOrder ((int) site1IP));\r