The federal government has confirmed Australia abstained from a United Nations vote overnight calling on Israel to end its "unlawful presence" in Palestine.