If a client machine is in a domain other than the IPA domain then DNS discovery will fail. The only workaround is to provide the --server option. A --domain option would provide a hint to discovery so it is able to detect the IPA information.
Note that this isn't about hardcoding --server, it is more that having users specify a specific server has more friction than specifying the IPA domain.
Metadata Update from @rcritten: - Custom field rhbz adjusted to https://issues.redhat.com/browse/RHEL-86030
Metadata Update from @rcritten: - Issue assigned to rcritten
PR https://github.com/freeipa/freeipa/pull/7798
master:
ipa-4-12:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)