Re: How to disable DNS lookups?

"Roland C. Dowdeswell" <[email protected]> Mon, 24 Jul 2017 12:40:58 -0400
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <20170724164058.GB23486@fedora-23-dvm>
On Sun, Jul 23, 2017 at 08:23:52AM +0300, Heikki Lindholm wrote:
>

> The Heimdal version identifies itself as 1.5.2. The main problem is that
> Heimdal doesn't appear to use /etc/hosts for looking up the KDC's IP
> address, but goes to DNS, and fails.

1.5.2 is quite old and, IIRC, I've seen this before.  You can work
around it by adding the kdc name with a dot at the end as an alias in
the hosts file.

So, if your kdc is kdc1.example.com, then your /etc/hosts line should
look like this:

1.2.3.4		kdc1.example.com kdc1.example.com. kdc1

or something quite like that.

-- 
    Roland C. Dowdeswell