Change the check ip URL in DDNS

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
mlyu
DD-WRT Novice


Joined: 07 Jan 2007
Posts: 17

PostPosted: Sun Jan 07, 2007 0:49    Post subject: Change the check ip URL in DDNS Reply with quote
I am using no-ip.com for my ddns.
However, my connection has a transparent proxy and I need to use http://checkip.dyndns.org:8245/ to check my ip instead of port 80.
How can I set my DDNS so that I can use port 8245 to check ip instead of the default?

Thanks!
Sponsor
s19303cc
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 22

PostPosted: Tue Mar 20, 2007 16:49    Post subject: Re: Change the check ip URL in DDNS Reply with quote
mlyu wrote:
I am using no-ip.com for my ddns.
However, my connection has a transparent proxy and I need to use http://checkip.dyndns.org:8245/ to check my ip instead of port 80.
How can I set my DDNS so that I can use port 8245 to check ip instead of the default?

Thanks!


Inadyn allows this option: “–ip_server_name” Like this:
“–ip_server_name www.antifart.com:80 /stuff/checkip/index.php” which would go to http://www.antifart.com:80/stuff/checkip/index.php

From there you can set your port number.
chpyeung
DD-WRT Novice


Joined: 04 Mar 2008
Posts: 42

PostPosted: Tue Mar 04, 2008 4:07    Post subject: Re: Change the check ip URL in DDNS Reply with quote
So how can I put the command below into the router setup page to make DDNS reports correctly?

s19303cc wrote:
mlyu wrote:
I am using no-ip.com for my ddns.
However, my connection has a transparent proxy and I need to use http://checkip.dyndns.org:8245/ to check my ip instead of port 80.
How can I set my DDNS so that I can use port 8245 to check ip instead of the default?

Thanks!


Inadyn allows this option: “–ip_server_name” Like this:
“–ip_server_name www.antifart.com:80 /stuff/checkip/index.php” which would go to http://www.antifart.com:80/stuff/checkip/index.php

From there you can set your port number.
s19303cc
DD-WRT Novice


Joined: 20 Mar 2007
Posts: 22

PostPosted: Tue Mar 04, 2008 14:33    Post subject: Re: Change the check ip URL in DDNS Reply with quote
Sorry, I can't help you there. Please post your solution if you find it. Thanks.

chpyeung wrote:
So how can I put the command below into the router setup page to make DDNS reports correctly?

s19303cc wrote:
mlyu wrote:
I am using no-ip.com for my ddns.
However, my connection has a transparent proxy and I need to use http://checkip.dyndns.org:8245/ to check my ip instead of port 80.
How can I set my DDNS so that I can use port 8245 to check ip instead of the default?

Thanks!


Inadyn allows this option: “–ip_server_name” Like this:
“–ip_server_name www.antifart.com:80 /stuff/checkip/index.php” which would go to http://www.antifart.com:80/stuff/checkip/index.php

From there you can set your port number.
ClassicalDude
DD-WRT Novice


Joined: 09 Sep 2008
Posts: 13

PostPosted: Thu Nov 27, 2008 7:22    Post subject: Reply with quote
I think I can add the last piece of this effort. To change inadyn's configuration file, go to Administration -> Commands and add the following command:



Code:
sleep 60
echo $(cat /tmp/ddns/inadyn.conf) --ip_server_name checkip.dyndns.org:8245 /index.php >/tmp/ddns/inadyn.conf
inadyn --input_file /tmp/ddns/inadyn.conf


Click the "Save as Startup" button, and you're done. When you reboot the router, it will add the server to the config file after a minute and restart inadyn.
hching
DD-WRT Novice


Joined: 18 Jul 2009
Posts: 39

PostPosted: Mon Sep 14, 2009 2:04    Post subject: Reply with quote
ClassicalDude, this almost worked for me except that I have to add a killall inadyn command before starting a new instance. Otherwise, it appears there will be two inadyn instances running (it is for me) and the old one will use the old config which is cached during startup and will continue to update dyndns with incorrect IPs. Hope this helps someone else.


sleep 60
echo $(cat /tmp/ddns/inadyn.conf) --ip_server_name checkip.dyndns.org:8245 /index.php >/tmp/ddns/inadyn.conf
killall inadyn
inadyn --input_file /tmp/ddns/inadyn.conf
lupine
DD-WRT Novice


Joined: 16 Jan 2007
Posts: 47

PostPosted: Wed Nov 18, 2009 0:18    Post subject: Reply with quote
@hching

I can report that your version of the script worked well for me. The transparent proxies in my ISP's network are no longer borking it up for me. Thanks to you and ClassicalDude.
STUART
DD-WRT Novice


Joined: 03 Oct 2009
Posts: 8

PostPosted: Wed Nov 18, 2009 16:10    Post subject: Reply with quote
There's also a big "Additional DDNS Options" box on the DDNS screen...
Fimu
DD-WRT Novice


Joined: 30 Jan 2011
Posts: 3

PostPosted: Sun Jan 30, 2011 4:45    Post subject: Reply with quote
Hello,

Since this is my first post, let me say thank you all for DD-WRT and your constant support. I'm not the kind of user who talks a lot, I prefer searching for solutions and following some topics of interest.

I have a problem and I have looked over the forum and found this topic to be the closest one to the problem I'm facing...

I'm having a similar problem about the wrong IP for no-ip, apart from the fact that the wrong IP in my case is 192.168.1.6... (I'm using ddwrt build 14986)

No matter what I do, in the admin page of no-ip it says my host IP address is 192.168.1.6 even though on ddwrt's config page it says the correct IP was set:

Code:
Sun Jan 30 01:44:29 2011: INADYN: Started 'INADYN Advanced version 1.96-ADV' - dynamic DNS updater.
Sun Jan 30 01:44:29 2011: I:INADYN: IP address for alias 'XXX.hopto.org' needs update to '20X.52.XX.XX'
Sun Jan 30 01:44:29 2011: I:INADYN: Alias 'XXX.hopto.org' to IP '20X.52.XX.XX' updated successfully.


(X's were placed on purpose, and the IP is the WAN IP)

Weird fact: if I change the pasword, or any information, forcing the service to update my ip address, then, it works. But, a few moments later, it gets set back to 192.168.1.6.

Anyone knows what might be causing this problem? Is it related to transparent proxing? Please, do forgive my lack of expertise.

Thanks for the support. Any help is appreciated.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum