iechuu
@iechuu

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

独自ドメインの構築

解決したいこと

ActiveDirectory(ルートドメイン)とFreeIPA(子ドメイン)で独自ドメインを作成してみたいと思っています。

例)
tree2.png

動作環境:
ホストWindows10pro Hyper-VホストネームHV
ゲストWindowsServer2025 Standardホストネームad1(mc.jp)
ゲストCentOS Stream 10ホストネームld1(it-manabiclub.mc.jp)

ホストネームad1(mc.jp)に事前準備
[1]固定IP:192.168.11.5
[2] ActiveDirectoryドメインサービスをインストール
[3]フォレストルートドメインをインストール
ドメインの機能レベル:WindowsServer2016 フォレストの機能レベル:WindowsServer2016

ホストネームld1(it-manabiclub.mc.jp)に事前準備
[1]固定IP:192.168.11.10
[2]FreeIPAインストール

発生している問題・エラー

[root@ld1:~#]# ipa-server-install --setup-dns

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the IPA Server.
Version 4.12.2

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the NTP client (chronyd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure DNS (bind)
  * Configure SID generation
  * Configure the KDC to enable PKINIT

To accept the default shown in brackets, press the Enter key.

Enter the fully qualified domain name of the computer
on which you're setting up server software. Using the form
<hostname>.<domainname>
Example: master.example.com.


Server host name[ld1]:

Invalid hostname'ld1',must be fully-qualified.
The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information

自分で試したこと

今回、CentOSに子ドメインだけでなく完全修飾ドメインを設定しても結果は同じでした。
nmcli d

DEVICE  TYPE      STATE    CONNECTION
eth0    ethernet  接続済み  eth0
lo      loopback  接続済み  lo

/etc/hostname

ld1.it-manabiclub.mc.jp

/etc/hosts

127.0.0.1     localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.11.10 ld1 ld1.manabiclub.mc.jp
::1           localhost localhost.localdomain localhost6 localhost6.localdomain6
0

1Answer

Your answer might help someone💌