[35727] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Query - How to determine the KDC

daemon@ATHENA.MIT.EDU (Greg Hudson)
Fri Jan 31 12:08:56 2014

Message-ID: <52EBD89C.1020207@mit.edu>
Date: Fri, 31 Jan 2014 12:08:44 -0500
From: Greg Hudson <ghudson@mit.edu>
MIME-Version: 1.0
To: Priya Balakrishnan <priya9907@gmail.com>, Kerberos@mit.edu
In-Reply-To: <CAGRZLnEsG6XqcFEiek7VecTf1uhB8L8S6OshFML9sAiua+QbFw@mail.gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On 01/31/2014 10:08 AM, Priya Balakrishnan wrote:
> Hope this isn't a silly question. Is there a command/tool that tells us
> which is the KDC for a particular realm ?

Not really in MIT krb5; at the moment, we keep all of the KDC location
and communication code well under the hood.  If the realm uses DNS, you
can look up the SRV record; for example:

    $ host -t srv _kerberos._udp.athena.mit.edu
    _kerberos._udp.athena.mit.edu has SRV record 0 0 88 KERBEROS-2.MIT.EDU.
    _kerberos._udp.athena.mit.edu has SRV record 0 0 88 KERBEROS.MIT.EDU.
    _kerberos._udp.athena.mit.edu has SRV record 0 0 88 KERBEROS-1.MIT.EDU.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post