[arm-allstar] Dynamic DNS
Doug Crompton
doug at crompton.com
Wed Apr 29 23:19:45 EST 2015
Yes the BBB or RPi2 could definitely handle that task as it is trivial. The ddns service usually provides a script to run to do the update. The procedure is:
Goto the ddns service and select a domain name. You only need one as what machine it goes to in your LAN is controlled by the port you come in on and your routers port forwarding.
Download the script and install it on any computer in your LAN. It could be your BBB if you desire. It should be one that stays on all the time.
Thats it. The local script sends the ddns your IP address if it changes. Your IP is then updated in Internet DNS for the domain name your chose.
I had been using noip.com but switched to freedns - https://freedns.afraid.org/ - because noip had some issues and I think they charge now for reasonable domain names. freedns gives a number of options on how to update your IP. Also note that many routers have this capability built-in! dd-wrt routers do. This would eliminate any need to have a script running in a local computer. There are many ddns providers out there so you do have a choice.
BTW the Allstar system could be used to find the IP address of your node from a remote location and thus serve as a crude ddns without the domain name. Assuming you had a local Allstar system running just do -
grep <node> /tmp/rpt_extnodes
This will give you the IP address which you can use to connect back to your remote computer on the distant LAN. I included a script in the RPi2 code - see scripts how-to - that does an ssh connect to a distant node using this approach.
[root at alarmpi local]# allstar_ssh.sh
ssh to an Allstar node
Usage: allstar_ssh.sh node [port]
Default port- 222
[root at alarmpi local]# allstar_ssh.sh 27086
Node- 27086 IAX port- 4569 Domain- cpe-72-224-76-51.maine.res.rr.com.
Connecting ssh to Allstar node- 27086 at IP address- 72.224.76.51 port- 222
The authenticity of host '[72.224.76.51]:222 ([72.224.76.51]:222)' can't be established.
RSA key fingerprint is SHA256:s302orgbbzT0BpEWIDYXgjd7XsFHuogPKcRaYvMsNok.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[72.224.76.51]:222' (RSA) to the list of known hosts.
root at 72.224.76.51's password:
So you are in Maine? What town?
73 Doug
WA3DSP
http://www.crompton.com/hamradio
Date: Wed, 29 Apr 2015 21:32:22 -0400
From: N1XBM at amsat.org
To: arm-allstar at hamvoip.org
Subject: [arm-allstar] Dynamic DNS
After consulting with many people on my website project I'm taking the advice I've gotten from many people. The first task I'd like to complete is setting up a DDNS service. This will help me when using lsnodes on my home simplex node on a BBB. Is there a way to install something on my BBB that will update to a free service? I only need one or two domains. Also will my BBB be able to handle this task?
N1XBM
Apparare Scientor
Paratus Communicare
Allstar Node # 27086, 41540, 41812
_______________________________________________
arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150430/8cccdb09/attachment.html>
More information about the arm-allstar
mailing list