You obtain the Rod of Ivandis during the In Aid of the Myreque quest, using it near the end to complete the quest—and yes, you keep it afterward.