Re: DHClient Exit Scripts
On Aug 15, 2010, at 6:37 PM, Boyd Stephen Smith Jr. wrote:
> In <[🔎] 1AF890A5-5BF9-46C9-8C4B-B709170DD545@halblog.com>, Hal Vaughan wrote:
>> I've been reading the man pages for dhclient, but I'm stuck with one key
>> question I've missed.
>>
>> I have an exit script set up to notify me of the IP address of a particular
>> system (on a LAN) whenever the IP address changes.
>>
>> I know whenever dhclient runs, it runs the exit scripts. The one issue I'm
>> not clear of is whether the exit scripts will be run any time the IP
>> address changes, like when a lease expires. I know it'll run at reboot or
>> if networking is restarted, but will the exit scripts be run when the IP
>> address is changed by the DHCP? If it's not, is there any program that
>> runs under those conditions?
>
> I can't answer the specific question, but I knows that there are DynDNS
> clients in Debian that are capable of notifying a remote system whenever the
> local system's IP changes. One of these clients should be able to "speak" a
> "dialect" you can process.
I had always thought those were for external IP addresses, not for inside a LAN. I'll check on that.
Thanks!
Hal
Reply to: