Like @stephdl suggests, there are also some methods/syntax to split long DKIM keys over multiple chunks. It depends on the DNS implementation, so you should refer to your DNS provider’s documentation.
The marked solution is a workaround. It generates a weak key.