Configure two networks with different hostname

When trying to add two network interfaces to a host when provisioning an instance,
we need to pass the hostname and a suffix for the second interface. Is there a way to accomplish this?
Currently we just select two different network groups, which also runs into problems when using auto inject in a catalog item for some reason.
The message we are getting is: Failed to Allocate IP Address From IPAM: Error allocating host record to the specified ip: The record ‘foobar.somedomain’ already exists.
Basically we need the second network to use foobar_suffix.somedomain
Domains come predetermined from our infoblox