The Iron Dome system shot down a rocket which flew across the Gaza border towards Ofakim, a city near Beersheba in Israel's south.