- Mitglied seit
- 2 Dez 2007
- Beiträge
- 8,014
- Punkte für Reaktionen
- 28
- Punkte
- 48
Im Anhang ein Patch für ndyndns. Nur für den Provider "members.dyndns.org" geeignet. Kann mehrere hostnamen updaten und ssl (Port 443). Als Beispiel, meine ndyndns.conf:
Das Interface tun0 wird nicht benötigt, denn:
Code:
[config]
chroot = /var/mod/home/nobody
user = nobody
group = nobody
interface = tun0
[dyndns]
username = ?????
password = ***********
hosts = #####.####.nu
hosts = #####.####.nu
hosts = #####.###.cx
hosts = #####.####.nu
hosts = ########.###.cx
Code:
If the system running ndyndns is not your border device (eg, it is behind a
router or firewall, and its IP address is not internet-routable), you should
add the -r switch to ndyndns. The -r switch will instruct ndyndns to use
the IP returned by checkip.dyndns.org. Note that -r should only be used
if necessary: as is required by dyndns.org policies, checkip.dyndns.org will
not be queried more than once every ten minutes.
Code:
/var/mod/root # ndyndns [B][COLOR="Red"]-r[/COLOR][/B] -n -x -f /tmp/flash/mod/ndyndns.conf
hosts: [####.####.nu]
lookup_dns: returned [##.###.###.50]
adding: [#####.####.nu] ip: [##.###.##.50]
curl has SSL support, using https.
updating to interface: [tun0]
adding for refresh [#####.####.nu]
update url: [https://members.dyndns.org/nic/update?system=dyndns&hostname=#####.####.nu&myip=##.###.###.50&wildcard=NO&mx=NOCHG&backmx=NOCHG&offline=NO]
####.####.nu: [good] - Update successful.