On 1/8/19 10:13 PM, I AM USER via FreeIPA-users wrote:
Thanks, but I got to this point after following that document. It
doesn't answer my question.
_______________________________________________
FreeIPA-users mailing list -- freeipa-users(a)lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/freeipa-users@lists.fedoraho...
Hi,
the output of dig will depend on the DNS server you are contacting.
For instance, let's assume client1 has /etc/resolv.conf configured to
use the DNS servers without any location (
server-1.ex1.net and
server-2.ex1.net). On this client, the output will be as you saw:
$ 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
Now if you contact the DNS on
server-1.mgmt-ex2.net instead (which is
part of locname1), you should see a different output:
$ dig @<IP of server-1.mgmt-ex2.net> +short -t SRV
_ldap._tcp.ex1.net
0 100 389
server2.mgmt.ex2.net
0 100 389
server1.mgmt.ex2.net
50 100 389
server1.ex1.net
50 100 389
server2.ex1.net
So if you want client1 to use the IPA servers from locname1, you need to
configure only the servers from locname1 in /etc/resolv.conf.
Hope this clarifies,
flo