Help: Cannot contact any KDC for requested realm

Roland C. Dowdeswell elric at imrryr.org
Wed Jun 26 16:30:27 EDT 2013


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/


More information about the Kerberos mailing list