A dingo-proof fence is set to be built around Fraser island's biggest township to protect visitors from the island's native dingo population.