[Freeipa-devel] [PATCH] Introduce new env variable, enable_dns=True, if IPA is managing DNS.
Simo Sorce
ssorce at redhat.com
Thu Dec 9 18:34:18 UTC 2010
----- "Pavel Zuna" <pzuna at redhat.com> wrote:
> if api.env.enable_dns:
> print "DNS is managed by IPA"
>
> ====
>
> ipa env | grep "enable_dns: True" > /devnull && echo "DNS is managed
> by IPA"
>
> ====
>
> Ticket #600
Nack, sorry the approach is completely wrong.
As discussed on IRC you should search the LDAP server and see if the DNS service is enabled for at least one master under cn=masters,cn=ipa,cn=etc,$SUFFIX
This new data is only available after my patch 0025 is pushed.
Simo.
More information about the Freeipa-devel
mailing list