To overcome the main limitations of the optimised random phase (ORAP) non-iterative hologram generation method, which include the support constraints (position, size, and shape) and the fixed window size of the space domain, we propose a two-constraint-free dual-domain optimised random phase (TCF-DD-ORAP) method for phase-only hologram generation. Firstly, the dual-domain optimised random phase (DD-ORAP) is generated in the dual domain (the space or frequency domain), both of which can be used to non-iteratively generate holograms for different target images. Next, the support constraints of the target image are relaxed in the space domain (position, size, and shape), and the generated DD-ORAP can then be used to generate holograms for the target images with arbitrary support in the image space. Finally, a crop operation is applied to target images with different window sizes, and the TCF-DD-ORAP corresponding to the target window size can be cropped for CGH generation. The TCF-DD-ORAP method proposed in this paper overcomes the dual limitations of fixed support and window size that arise in the original ORAP method of CGH generation, and can therefore significantly reduce the computational cost and enhance the flexibility of CGH generation. Numerical and optical experiments validate the effectiveness and superiority of our proposed TCF-DD-ORAP method.