Am 15.05.2018 um 22:29 schrieb Benny Pedersen:
its a dns problem to solve, not postfix

# /etc/hosts

127.0.0.1 horus.localdomain horus

Matus UHLAR - fantomas skrev den 2018-05-16 15:24:
Benny, 127.0.0.1 should always resolve to "localhost" (surprises can happen
otherwise). That's why debian puts local host name with IP 127.0.1.1
to /etc/hosts.

On 17.05.18 00:42, Benny Pedersen wrote:
127.0.0.1 horus.localdomain horus localhost.localdomain localhost
::1 horus.localdomain horus localhost.localdomain localhost

the "localhost" should be the first, so 127.0.0.1 maps to "localhost"
- not anything else.

but thats only used if there is no real dns server on localhost, if there is localdomain must be served in real dns server running on localhost

"localhost", not localdomain - the same as above applies.
(and 127.in-addr.arpa of course).

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I don't have lysdexia. The Dog wouldn't allow that.

Reply via email to