-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 6 May 2016 11:56:31 +0100 Raf Czlonka <[email protected]> wrote:
> On Fri, May 06, 2016 at 11:35:47AM BST, Duncan Patton a Campbell > wrote: > > > > Back when the script tag was removed from dhclient.conf the > > functionality to do external commands was ostensibly moved > > into hostname.if via the > > > > !command mechanism. > > > > in man hostname.if it says > > > > "It is worth noting that ``\$if'' in a command > > line will be replaced by the interface name" > > > > Is there any similar tag to access the addess assigned by dhcp? > > What other mechanisms exist to update dynamic dns assignments? > > Hi Duncan, > > Not sure if I understood you correctly but doesn't > > send host-name ... > - From my reading of man dhclient.conf this will send the local box's hostname to it's dhcp server and I'm looking to send the local box's just assigned dhcp_ip to a nameserver using nsupdate. Thanks Dhu > in dhclient.conf(5) do what you want? > > Regards, > > Raf > - -- "Je suis Canadien. Ce n'est pas Francais ou Anglaise. C'est une esp`ece de sauvage" http://babayaga.neotext.ca/PublicKeys/Duncan_Patton_a_Campbell_pubkey.txt Ne obliviscaris, vix ea nostra voco. iF4EAREIAAYFAlcsiOUACgkQiY6AzzR1lzzN0AEA0a606QNYiWtTjBMh/keDxbUm STv6xWmwQ9KmzUIi21IA/309BUahCATDLfNBSOc4AF8frOpDy3ZMhr6qYHzKiLQo =HWd1 -----END PGP SIGNATURE-----

