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 ... in dhclient.conf(5) do what you want? Regards, Raf