Page 1 of 2
Dynamic dns updates 127.0.0.1 to server
Posted: Fri Jul 31, 2015 11:23 pm
by traidua
Hi all,
I have a small issue with dynamic DNS service. At least one a day, my router updates 127.0.0.1 to my no-ip server instead of the router IP.
The router is Netgear WNDR3700v1 with fw 1.7.2.
Please let me know what log or error files I need to look to debug this problem.
Thanks,
Traidua
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Fri Jul 31, 2015 11:27 pm
by ispyisail
more details please?
Evidence/screen shots
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Sat Aug 01, 2015 11:32 am
by traidua
Thanks for quick response.
Looks like the issue is at
http://www.tracemyip.org which is used to get local ip.
Here is from logread.
Sat Aug 1 09:28:44 2015 daemon.info ddns_gargoyle[14700]: Checking whether update needed:
Sat Aug 1 09:28:44 2015 daemon.info ddns_gargoyle[14700]: service provider=no-ip.com
Sat Aug 1 09:28:44 2015 daemon.info ddns_gargoyle[14700]: domain=xx.ddns.net
Sat Aug 1 09:28:45 2015 daemon.info ddns_gargoyle[14700]: Successfully retrieved local ip from url:
http://www.tracemyip.org
Sat Aug 1 09:28:45 2015 daemon.info ddns_gargoyle[14700]: local IP = 127.0.0.1
Sat Aug 1 09:28:45 2015 daemon.info ddns_gargoyle[14700]: remote IP = 68.102.xx.xx
Sat Aug 1 09:28:45 2015 daemon.info ddns_gargoyle[14700]: Update successful
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Sat Aug 01, 2015 4:16 pm
by traidua
I wish these urls was in a conf file so I could update myself. Looks like I have to wait for a new build in order to get that fix.
check_local_ip_urls.c
char default_ip_lookup_url_data[][MAX_LOOKUP_URL_LENGTH] = {
"
http://checkmyip.com",
"
http://www.ipchicken.com",
"
http://www.tracemyip.org",
"
http://checkip.dyndns.org",
"
http://checkip.org",
"
http://www.ip-address.org",
"
http://my-ip-address.com",
"
http://www.selfseo.com/what_is_my_ip.php",
"
http://aruljohn.com",
"
http://www.lawrencegoetz.com/programs/ipinfo/",
"
http://myipinfo.net",
"
http://www.ip-1.com/",
"
http://www.myipnumber.com",
"
http://www.dslreports.com/whois",
"\0"
};
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Sat Aug 01, 2015 5:05 pm
by nworbnhoj
traidua wrote:I wish these urls was in a conf file so I could update myself.
http://www.gargoyle-router.com/phpbb/vi ... dns#p29181
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Sat Aug 01, 2015 5:05 pm
by Lantis
I think you're right.
I thought it was supposed to try that list in order though. Strange.
You could modify it yourself and recompile if you don't want to wait?
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Sun Aug 02, 2015 11:30 am
by traidua
Yes, I believe so. It tries that list in order and rotate the urls so that the traffic equally distributed to all sites in the list. I guess the issue is it doesn't get the error from
http://www.tracemyip.org. Otherwise, it can try the next url.
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Mon Sep 07, 2015 1:08 am
by Lantis
I've tried out the tracemyip address and it works successfully.
Can we get details on your network setup. I want to know why it would falsely report a 127 address.
EDIT:
well bugger me... i reproduced your error lol.
Code: Select all
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: Forcing update:
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: service provider=no-ip.com
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: domain=testingddns.ddns.net
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: Successfully retrieved local ip from url: http://www.tracemyip.org
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: local IP = 127.0.0.1
Wed Sep 9 17:13:14 2015 daemon.info ddns_gargoyle[5100]: remote IP = 121.216.xxx.xxx
Wed Sep 9 17:13:17 2015 daemon.info ddns_gargoyle[5100]: Update successful
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Wed Sep 09, 2015 3:21 am
by Lantis
ahhhhhhh....
You don't happen to be using my Adblock plugin do you..?
i just discovered that tracemyip.org is getting blocked by it as an ad.
I'll fix that in the next build lol.
If you aren't using that plugin then i can keep testing for you.
If you are, add "
www.tracemyip.org" to the /etc/white.list file on your router and then from the router gui go to Firewall>Adblock and select "update blocklist".
Re: Dynamic dns updates 127.0.0.1 to server
Posted: Mon Sep 14, 2015 10:52 pm
by traidua
Lantis, thank you for looking at this issue.
I actually got a workaround. I am using ip_source and ip_interface so it works without go through that list.