DNS for AD-IPA Integration

See DNS (MD|HTML)

FreeIPA AD Integration

FreeIPA (Identity, Policy, Audit) is a Linux-based identity management solution that can interoperate with AD via cross-forest trusts or direct integration. Using ipa.lime.abiz.com as a subordinate domain under lime.abiz.com is a valid approach, as it maintains a clear DNS hierarchy and allows FreeIPA to leverage AD's DNS for resolution.

See AD-IPA.topology (MD|HTML)

DNS of hosts under RHEL IdM (a branded version of FreeIPA) is delegated to IdM by AD

TL;DR

Hosts under FreeIPA (e.g., host1.ipa.lime.abiz.com) should have their DNS records managed by the FreeIPA server's DNS service for the ipa.lime.abiz.com zone. This aligns with best practices for DNS hierarchy, ensures proper integration with FreeIPA's identity management features, and supports FIPS and security compliance in an air-gapped network. Proper DNS delegation from AD to FreeIPA and correct configuration of FreeIPA's DNS service are critical for seamless operation. For detailed guidance, refer to FreeIPA’s documentation on DNS management and Microsoft’s AD DNS delegation guidelines.

Subordinate FreeIPA Domain (ipa.lime.abiz.com)

Why FreeIPA Should Manage DNS for Its Hosts

Configuration Steps

To ensure that client hosts like host1.ipa.lime.abiz.com have their DNS managed by the FreeIPA server:

DNS Delegation:

At AD DNS host(s) (for lime.abiz.com), create a delegation for ipa.lime.abiz.com pointing to the FreeIPA server's IP address. This is done by adding NS (Name Server) records for the FreeIPA DNS server in the lime.abiz.com zone.

ipa.lime.abiz.com.  IN  NS  ipa-server.ipa.lime.abiz.com.
ipa-server.ipa.lime.abiz.com.  IN  A  192.168.1.10

FreeIPA DNS Setup:

At FreeIPA host, enable DNS service, and configured it to manage the ipa.lime.abiz.com zone. This can be set up during FreeIPA installation or later using the command: ipa dnszone-add.

zone=ipa.lime.abiz.com
ipa dnszone-add $zone --name-server=$(hostname).$zone

Host Enrollment:

At client host(s), When enrolling a host (e.g., host1.ipa.lime.abiz.com) in FreeIPA, use the ipa-client-install command with the --enable-dns-updates option. This ensures the host's DNS records (e.g., A, PTR) are automatically registered in the ipa.lime.abiz.com zone.

zone=ipa.lime.abiz.com
ipa-client-install --domain=$zone --server=$(hostname).$zone --enable-dns-updates

Verify DNS Records:

At FreeIPA host, confirm that the host's DNS records are correctly registered in FreeIPA's DNS zone.

zone=ipa.lime.abiz.com
ipa dnsrecord-find $zone

Output should include:

Record name: host1
A record: 192.168.1.100

Client Configuration:

Configure clients (e.g., RHEL hosts) to use the FreeIPA DNS server (e.g., ipa-server.ipa.lime.abiz.com) for name resolution. Update /etc/resolv.conf or NetworkManager settings to point to the FreeIPA server's IP address.

Additional Considerations