Dynamic dns updates 127.0.0.1 to server
Moderator: Moderators
Dynamic dns updates 127.0.0.1 to server
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
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
more details please?
Evidence/screen shots
Evidence/screen shots
Re: Dynamic dns updates 127.0.0.1 to server
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
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
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"
};
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
http://www.gargoyle-router.com/phpbb/vi ... dns#p29181traidua wrote:I wish these urls was in a conf file so I could update myself.
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Dynamic dns updates 127.0.0.1 to server
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?
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?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Dynamic dns updates 127.0.0.1 to server
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
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.
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
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Dynamic dns updates 127.0.0.1 to server
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".

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".
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Dynamic dns updates 127.0.0.1 to server
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.
I actually got a workaround. I am using ip_source and ip_interface so it works without go through that list.