Add resolveip code for parsing ip to loc