network: allow to create DNS zone with netmasks other than 8, 16 or 24

But, if a reverse zone is asked, it won't be created.

Refs #2167