On Mon, Sep 29, 2014 at 08:03:14AM -0600, Duncan Patton a Campbell wrote:
> My purpose here is to allow dynamic dns updates 
> via nsupdate from a dhcp clients where addresses 
> are subject to change.  I have a solution that
> will remain stable so long as the !command 
> hook in hostname.if remains stable.  This is
> not as good as the dhclient.conf script interface
> as it can't exclude calls that don't change 
> the interface, but hey... 
> 
> # more /etc/hostname.nfe0
> dhcp
> !/usr/local/sbin/dydns.sh $if

This is executed only during boot or explicitly
via netstart. So you believe your IP won't be changed
by DHCP.

j.

Reply via email to