At the end of the Geas spell description it is stated that
You can end the spell early by using an action to dismiss it. A remove curse, greater restoration or wish also ends it.
So the question is: is the spell Geas dispelled by Dispel Magic?
When it is casted using a spell slot of 9th level, the spell is permanent and
lasts until it is ended by one of the spells mentioned above.
Once again, is it ended by Dispel Magic in this case?