net.LookupIP is screwed up in linux systems & hence added a backup logic to pick ip-addresses from interfaces.

Signed-off-by: Madhu Venugopal <madhu@socketplane.io>