Dunedin is being visited by one of the navy's warships before the vessel heads further south next week.