Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: loppanjo on April 13, 2016, 07:44:04 AM

Title: Dynamic DNS Rpi 2 piCore 7.0
Post by: loppanjo on April 13, 2016, 07:44:04 AM
Is it possible to install .tar.gz files on piCore? (Never gotten .tar.gz files to work on other linux systems :/)
Would like to install NoIP.com's DNS updater
https://www.noip.com/download?page=linux
Title: Re: Dynamic DNS Rpi 2 piCore 7.0
Post by: bmarkus on April 13, 2016, 07:46:32 AM
Best way to create a .tcz

See http://wiki.tinycorelinux.net/wiki:creating_extensions
Title: Re: Dynamic DNS Rpi 2 piCore 7.0
Post by: Јаневски on April 13, 2016, 07:58:34 AM
A little bit off-topic, but i would use Hurricane Electric:
https://dns.he.net/docs.html

Code: [Select]
% curl "https://dyn.dns.he.net/nic/update?hostname=dyn.example.com&password=password&myip=192.168.0.1"
% curl "https://dyn.dns.he.net/nic/update?hostname=dyn.example.com&password=password&myip=2001:db8:beef:cafe::1"

I guess that No-IP have their own web api too:
Code: [Select]
curl -s -k --user-agent "$USERAGENT" "https://$USERNAME:$PASSWORD@dynupdate.no-ip.com/nic/update?hostname=$HOST&myip=127.0.0.1"
Taken from : https://github.com/mdmower/bash-no-ip-updater

PS: Update DNS A or AAAA record only on actual IP change so You won't get blocked by the api for too frequent updates.
Title: Re: Dynamic DNS Rpi 2 piCore 7.0
Post by: bmarkus on April 13, 2016, 08:05:44 AM
Never set your public IP address to a private address like 192.168.x.x or 10.x.x.x