Allow dynect to use arbitrary ohai attr for IP address

When using the ipaddr_extensions gem, ohai includes other
node attributes such as 'privateaddress'. When setting DNS
records for private interfaces, it is helpful to be able to
set this in an environment or base role/recipe.