From 462f6b759821d707ef84abd0855301e91d205fba Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Mon, 30 Mar 2015 13:02:56 +0200 Subject: [PATCH] Use icanhazip.com to get the ip --- DynDnsUpdater/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DynDnsUpdater/Program.cs b/DynDnsUpdater/Program.cs index 4b92960..29cf661 100644 --- a/DynDnsUpdater/Program.cs +++ b/DynDnsUpdater/Program.cs @@ -15,7 +15,7 @@ static void Main(string[] args) var password = args[3]; var webClient = new WebClient(); - var ip = webClient.DownloadString("http://sidoine.net/cgi-bin/ip.pl"); + var ip = webClient.DownloadString("http://icanhazip.com/"); ip = ip.Trim(new[] {'\r', '\n', ' '}); string credentials = Convert.ToBase64String(Encoding.ASCII.GetBytes(userName + ":" + password)); webClient.Headers[HttpRequestHeader.Authorization] = string.Format("Basic {0}", credentials);