I'm running 6.0b3 and am having problems with dynamic dns not working (ip changes, url is not updated). I've searched the forms, and found some helpful info but nothing that has solved the problem yet.
Dyndns seems to be enabled (I also get a weekly e-mail saying that the cron job has completed and run my script), I'm using a custom script fot zone edit. If I run my custom script (/sbin/e-smith/dynamic-dns/custom), it runs correctly. Further, if I run it when the ip is incorrect, it updates the ip correctly.
So I can only assume that the script isn't being called when the ip changes?
Any help would be _greatly_ appreciated, as this is getting a little frustrating.
Thanks, Troy
All the info on my config I could think of is below. If there is anything else I should check, let me know.
1. When I run /sbin/e-smith/dynamic-dns/custom I get:
www.macneilarch.ca">[root@mac dynamic-dns]
2. The result of
/sbin/e-smith/db configuration show DynDNS
DynDNS=service
Account=Username_correct
Password=Pass_correct
Service=custom
status=enabled
3. The e-mail result of the weekly cron?
/etc/cron.weekly/refresh-ddns:
macneilarch.ca
www.macneilarch.ca">
4. Permissions on the custom script file:
-r-xr-xr-- 1 root root 929 Dec 1 12:06 custom
5. The content of the custom script (note, user, pass and domains hard-coded):
#!/bin/sh
# Description: www.zoneedit.com (free service)
#------------------------------------------------------------
# dyndns.org dynamic DNS update handler.
#------------------------------------------------------------
IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN="$4"
# This request will update only the primary domain name. It is
# assumed that you have any desired hostnames (or a wildcard),
# as well as any virtual domains, set as a CNAME (alias) to
# the primary domain name.
lynx -source -auth="USER:PASS" "https://dynamic.zoneedit.com/auth/dynamic.html?host=macneilarch.ca"
lynx -source -auth="USER:PASS" "https://dynamic.zoneedit.com/auth/dynamic.html?host=mail.macneilarch.ca"
lynx -source -auth="USER:PASS" "https://dynamic.zoneedit.com/auth/dynamic.html?host=www.macneilarch.ca"
exit 0
--
[%sig%]