Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] problem hosting behind dynamic dns using everydns
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Running Pinata
n00b
n00b


Joined: 07 Nov 2004
Posts: 37

PostPosted: Thu Oct 05, 2006 7:31 pm    Post subject: [solved] problem hosting behind dynamic dns using everydns Reply with quote

Hello, I run a webserver behind a dynamic dyns (ip changes very frequently, curse you yahoo sbc dsl) and I use everydns as my nameserver. Everydns lets me update my ip one every two hours, however since my ip changes often there is alot of downtime on my site. Anybody know of a solution for my dilemma? Thanks.

Last edited by Running Pinata on Fri Oct 06, 2006 6:04 am; edited 1 time in total
Back to top
View user's profile Send private message
jhmartin
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 95

PostPosted: Thu Oct 05, 2006 7:40 pm    Post subject: Reply with quote

Is your IP really changing that often? If so then a pure DNS solution isn't the way to go as DNS has propagation delay that can greatly exceed that. Instead you might want to look at a redirection service, such as http://www.dyns.cx/services/. That way all initial requests go to the central service, and it redirects them to the correct IP address. There's no propagation delay with this mechanism. The downside is that people will know that is what you are doing.
Back to top
View user's profile Send private message
Running Pinata
n00b
n00b


Joined: 07 Nov 2004
Posts: 37

PostPosted: Thu Oct 05, 2006 7:49 pm    Post subject: Reply with quote

thanks for the quick reply, yes I've thought about it, however wouldn't my ssl thingies not work? (I'm also hosting a mail server over imap-ssl)
Initally I was thinking of just creating a php script that just updates an index.php of a free service that forwards to my ip, except my services won't work.
Note that I use the dynamic dns resolution service of everydns.
Back to top
View user's profile Send private message
jhmartin
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2003
Posts: 95

PostPosted: Thu Oct 05, 2006 8:53 pm    Post subject: Reply with quote

Yeah, SSL would be hosed.

I have Comcast, which also has a dynamic IP. I solved this problem by renting a Linode from [url=http://www.linode.com]. Their smallest server is $20/month and can run a small mail / web server, although probably not with SpamAssassin.
Back to top
View user's profile Send private message
Running Pinata
n00b
n00b


Joined: 07 Nov 2004
Posts: 37

PostPosted: Thu Oct 05, 2006 9:09 pm    Post subject: Reply with quote

yea, I used to have a host but since their support team sucks, I decided to host my own. I think I can get around my problem by updating the ip of my computer when it changes. However, since my server does not plug into the modem directly, it doesn't know when the isp changes my ip.
My proposed solution was.... run a cronjob that checks up whatismyip.com or some ip detection site / or somehow access my router and check my ip and see if has changed. If changed then run the eDNS.pl (dynamic dns ip updater) tool. Feasable? or not?

I guess I can first modify the TTL first and see if that has any effect first.

[edit]
ok I realized two things, my router was set up to disconnect if idle more than 5 mins (insert carlos mencia dur-dur-durr sound here), and there is no TTL setting in the dynamic dns on everydns.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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