add ip query