Brian Herbert and Anderson have written two prequel trilogies ( Prelude to Dune and Legends of Dune ) exploring the history of the Dune universe before the events within Dune , as well as two post- Chapterhouse Dune novels that complete the original series ( Hunters of Dune and Sandworms of Dune ) based on Frank Herbert 's own Dune 7 outline .