On 11.06.2017 01:20, John Morris via FreeIPA-users wrote:
This works to find a single DNS record:
$ ipa dnsrecord-find
example.com --name=ipa-ca --pkey-only
Record name: ipa-ca
----------------------------
Number of entries returned 1
----------------------------
But this fails to find the origin record:
$ ipa dnsrecord-find
example.com --name=@ --pkey-only
----------------------------
Number of entries returned 0
----------------------------
It appears that the origin record is only treated inconsistently in
`dnsrecord-find`; other dnsrecord commands work fine in the form
`dnsrecord-*
example.com @`.
How does one find ONLY for a zone's origin record?
Thanks-
John
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to
freeipa-users-leave(a)lists.fedorahosted.org
Hello,
why do you need a find for zone apex? There is always exactly one, you
can use `ipa dnsrecord-show
example.com. @` OR `ipa dnsrecord-show
example.com. example.com.`
What is your use case?
Martin
--
Martin Bašti
Software Engineer
Red Hat Czech