Forum

Full Version: [HOW-TO] Xbian and dynamic DNS
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
here is a small guide in order to install a dynamic dns service on Xbian.
This is a revision of my old gude about it posted on ubuntu forums

The service is free, let's start.

First of all register your account on Freedns:
http://freedns.afraid.org/menu/
Freedns offer a bunch of domain names I choose ignorelist.com:
Assume that you register: <your_host>.ignorelist.com

Install inadyn:
Code:
sudo apt-get install inadyn curl

Once logged on open the url:
http://freedns.afraid.org/dynamic/
Select the link Direct URL beside <your_host>.ignorelist.com
Copy everything from the right of the ? in the browser address bar (alphanumeric string) something like 30ExSWg5MTRoMnB6XXZBUXZQ9999BTkxODQxNI==

Create configuration file of inadyn:
Code:
sudo nano /etc/inadyn.conf

And save this content:
Code:
--username <your_username>
--password <your_password>
--update_period 60000
--forced_update_period 320000
--alias <your_host>.ignorelist.com,alphanumeric string
--background
--dyndns_system default@freedns.afraid.org
--syslog

Add inadyn to crontab:
Code:
export EDITOR=nano && sudo crontab -e

Edit the file to add the following line and save:
Code:
@reboot /usr/sbin/inadyn

Reboot your PI
ping <your_host>.ignorelist.com
Done!
how many domain records you can register there for one account/login?
(9th Oct, 2014 05:17 PM)mk01 Wrote: [ -> ]how many domain records you can register there for one account/login?

Hi,
I don't know, I have two with two different subdomains on the same account.

D.
Thanks a lot for this small tutorial!

I haven't tried freedns myself, I'm using NoIP:
NoIP can also be used as a free dynamic DNS service.
Here is the link to the installation and configuration: http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client-on-ubuntu/
(13th Oct, 2014 11:57 PM)psyLord Wrote: [ -> ]Thanks a lot for this small tutorial!

I haven't tried freedns myself, I'm using NoIP:
NoIP can also be used as a free dynamic DNS service.
Here is the link to the installation and configuration: http://www.noip.com/support/knowledgebase/installing-the-linux-dynamic-update-client-on-ubuntu/

Hi,
I think that you can use inadyn for no-ip DNS service too; just change the settings inside inadyn.conf that matching your no-ip account. The key settings are:

username
password
alias
dyndns_system

I haven't try though

D.
Reference URL's