Re: [exim] localhost [reverse] lookup reaches external/globa…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Konstantin Kletschke
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] localhost [reverse] lookup reaches external/global DNS
On 2019-12-08 14:07, Jeremy Harris via Exim-users wrote:

> There's something wrong with that /etc/hosts entry.
> Check the spelling, for a start :)


Sorry, this was only a typo in the mail. It says _l_o_c_a_l_h_o_s_t_:

cat /etc/hosts:

127.0.0.1       localhost
83.246.46.207   kermit
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


> Check also that /etc/nsswitch.conf says to use "files" as well as
> dns, for hosts (files => /etc/hosts for host lookups).


/etc/nsswitch.conf looks like this:

passwd:         files systemd
group:          files systemd
shadow:         files
gshadow:        files


hosts:          files dns
networks:       files


protocols:      db files
services:       db files
ethers:         db files
rpc:            db files


netgroup:       nis


Regards
Konsti