Network/internet access from dhclient hooks
I have decided to switch DynDNS providers, and annoyingly the new one I chose does not have wide support in the standard clients. So I wrote a quick little shell script that uses their HTTP interface to update.
The problem is updating when my cable IP changes, and for that I wrote a hook in /etc/dhcp3/dhclient-exit-hooks.d/. It checks to see if the IP has changed since the last update and runs the HTTP request if it has.
I'm somewhat concerned about network access from the DHCP client cycle, namely during bootup, because if the curl command hangs it will gum up the entire bootup process. I had trouble with this before but I suspect the hook script had problems unrelated to this specifically.
Is this a legitimate concern, and if so, what should I do differently?
The problem is updating when my cable IP changes, and for that I wrote a hook in /etc/dhcp3/dhclient-exit-hooks.d/. It checks to see if the IP has changed since the last update and runs the HTTP request if it has.
I'm somewhat concerned about network access from the DHCP client cycle, namely during bootup, because if the curl command hangs it will gum up the entire bootup process. I had trouble with this before but I suspect the hook script had problems unrelated to this specifically.
Is this a legitimate concern, and if so, what should I do differently?
