On Wed, Jun 26, 2013 at 12:38:04PM -0400, Benjamin Kaduk wrote:
>

> On Wed, 26 Jun 2013, Lee Eric wrote:
> 
> > Hi Ben,
> >
> > Thanks. Just curious, how kinit queries the DNS server? Is it using
> > /etc/resolv.conf?
> 
> The krb5 library (which is what kinit uses) uses the libc resolver, which 
> should honor /etc/resolv.conf.

To be precise, it should use the NSS framework and honour
/etc/nsswitch.conf and so on.  To test what the host thinks,
you can use the same logic via getent(1) on most platforms
via:

        $ getent hosts <hostname>

--
    Roland Dowdeswell                      http://Imrryr.ORG/~elric/
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to