Hi Experts,
We have several IPA servers (pair of 8), and they are all replicas of each other with
domain level-1.
For example,
-- No location set for these two servers
server-1.ex1.net
server-2.ex1.net
-- locname1
server-1.mgmt-ex2.net
server-2.mgmt-ex2.net
We are using ipa version 4.5.4 from EL7. There are many clients that are configured to
use each of these pairs using /etc/resolv.conf.
We tried setting ipa-location info for each of these pairs, but must be missing something
because a query like the following returns the default records.
$ dig +short -t SRV
_ldap._tcp.ex1.net
0 100 389
server2.mgmt.ex2.net
0 100 389
server1.ex1.net
0 100 389
server2.ex1.net
0 100 389
server1.mgmt.ex2.net
whereas a location specific query returns with correct priority,
$ dig +short -t SRV
_ldap._tcp.locname1._locations.ex1.net
0 100 389
server1.mgmt.ex2.net
50 100 389
server2.ex1.net
0 100 389
server2.mgmt.ex2.net
.....
.....
Question is, what's the recommended way to do the ipa-location in a case like ours ?
What are we missing in our setup that causes the query to always provide a default
record.
Thanks