add public ip address

adds public ip address to the meta
This fails in a system with case-sensitive filesystem. I think it's better to use `require 'resolve'`.