Smart proxy should manage multiple domains: DNS issue

Problem:

I want to add a new domain to my existing subnet. That subnet is already managing firstsubdomain.example.com.

Once a smart proxy is supposed to manage multiple domains, I run into the problem that I cannot add a new host with that new domain, as POST to /dns fails with 400. Checking the zones on the smart proxy, I can see that newdomain.example.com does not exist.

Expected outcome:

Adding a new host with that domain does not fail with http 400.

Foreman and Proxy versions:

Foreman 3.11.2

Distribution and version:

Debian 11

Okay, now we are getting somewhere.

The issue is that the foreman-answers.yaml contains a value called dns_zone. This is singular and does not seem to accept multiple values.

If I add the zone in bind’s zones.conf everything works fine. But if I run foreman-installer again, the file is overwritten again.