Fixing IP based hostname