Omnimaga

General Discussion => Technology and Development => Computer Usage and Setup Help => Topic started by: Sorunome on July 01, 2013, 05:07:23 am

Title: Dynamic DNS
Post by: Sorunome on July 01, 2013, 05:07:23 am
So, I wanne have a domain pointing to my Raspberry Pi, but as it is at home it has a dynamic IP address.
So, my question is, does somebody know a good&free service to convert from dynamic to static IP? I recall seing something like that but I don't remember where :(
Title: Re: Dynamic DNS
Post by: AssemblyBandit on July 01, 2013, 05:20:59 am
I use no-ip from noip.com on my windows computer maybe it will work for the pi?
Title: Re: Dynamic DNS
Post by: Juju on July 01, 2013, 12:04:56 pm
Your Pi most likely have a 192.168 IP, so you'll have to configure your router to give it a static IP (in the 192.168 range), then do some port forwarding, or even set your Pi as DMZ, then it could use your public IP. Then you can easily give it a domain name, depends if your IP changes once in a while, if so go with no-ip as AssemblyBandit said.
Title: Re: Dynamic DNS
Post by: Sorunome on July 01, 2013, 12:06:50 pm
i meant more a static ip from router to internet, on the internal net i know how to do that :)
Title: Re: Dynamic DNS
Post by: Juju on July 01, 2013, 12:09:45 pm
Then you'll want to get no-ip or something, the DNS will change when your IP change. Or if you want a real static IP, you'll have to call your ISP and they'll probably charge extra fees.
Title: Re: Dynamic DNS
Post by: Sorunome on July 01, 2013, 12:10:30 pm
ok, and with no-ip, how does it know that my IP changes? Do i have to send it stuff or what?
Title: Re: Dynamic DNS
Post by: Juju on July 01, 2013, 12:12:48 pm
You'll have to install a daemon on one of your computers which notices IP changes and changes the DNS accordingly.
Title: Re: Dynamic DNS
Post by: Sorunome on July 01, 2013, 12:14:58 pm
that's this thing then? http://www.noip.com/downloads.php?page=linux

And, can i like run a local dns server then on my server, have it <subdomain>.<domain> link to no-ip which then links to my local network?
Title: Re: Dynamic DNS
Post by: DJ Omnimaga on July 01, 2013, 12:21:54 pm
Back in the days, I used DynDNS.org for anything like that (as well as for Omni URL, which was omnimaga.dyndns.org until October 2006 then became an alternate URL until Nikky hacked it in Jan 2008), but sadly they shut down their free service in 2011, so yeah I would go with no-ip, although unless it changed from 2004-05, it was incredibly slow and had pop up ads like on Dot.tk.

Does http://freedns.afraid.org/ offer such service too?
Title: Re: Dynamic DNS
Post by: Juju on July 01, 2013, 12:55:25 pm
Yup, that's what I suggested on IRC, plus you can update the IP with wget.
Title: Re: Dynamic DNS
Post by: Sorunome on July 01, 2013, 12:56:53 pm
on freedns.afaid.org i just read the router could be the update client too O.O
yay, that means i don't have to have so much crap running on my pi :D
Title: Re: Dynamic DNS
Post by: Juju on July 01, 2013, 01:37:34 pm
Yes, if your router supports it. Otherwise, the update script is very simple and consists of a call to wget or similar.