Hi list,
as previously mentioned on this list, I'm running my pfSense boxes
within private address space, so they can't detect the WAN ip change on
their own interface, as what they believe is their WAN ip is just
another private address.
Therefore, I need to rely on the mechanism that connects to
checkip.dyndns.org.
My previous understanding was that /etc/crontab by default contains
1 1 * * * root /usr/bin/nice -n20
/etc/rc.dyndns.update
(which means that the script only gets called at 01:01 AM each day), and
changing that to
*/5 * * * * root /usr/bin/nice -n20
/etc/rc.dyndns.update
would solve my issues. However, it does not work (any more?).
When I log in to the GUI, I see the IP displayed in red, meaning it is
not current.
Logging into pfSense on the command line and executing
fetch -q -o - http://checkip.dyndns.org | sed 's/^.*Current IP Address:
\(.*\)<\/body>.*$/\1/'
gives me the current IP, so I know that connecting to checkip.dyndns.org
works.
Hitting the "Save" button in the GUI will update the IP, so my
credentials are correct, too.
What do I have to change so that pfSense will contact checkip.dyndns.org
every 5 minutes, and will update the record when required?
(Note that it should not blindly update every 5 minutes, as that would
be considered abuse by most Dynamic DNS providers.)
Kind Regards,
Stefan
_______________________________________________
List mailing list
List@lists.pfsense.org
http://lists.pfsense.org/mailman/listinfo/list