freeipa / freeipa-healthcheck

Check the health of a freeIPA installation
GNU General Public License v3.0
50 stars 28 forks source link

Report when all ipa-ca records are missing in IPADNSSystemRecordsCheck #287

Closed rcritten closed 1 year ago

rcritten commented 1 year ago

If no DNS records were returned at all then the check for mismatches was missed. Add a special case for this scenario by using a placeholder for the IP address for a given CA server. If no records are returned at all this case will catch it. If any exist at all then the current code will handle it.

This is is easily reproduced using a non-IPA DNS server like Google or Cloudflare where all lookups will fail.

Fixes: https://github.com/freeipa/freeipa-healthcheck/issues/284

rcritten commented 1 year ago

Thanks!