Ad Astra + Fire and ice

I am trying to have it in my mod pack where dragons will only spawn in the planets of

Mars: Fire dragons And Glacio: Ice dragons

How can I do that in the config?